Nagarro Interview Question

What causes re-render in react component?