Freshworks Interview Question

How does react avoid re-renders? When you try to answer you would get to know that this guy has no basic understanding of React. But the catch is that if you try to teach him he would get agitated.