Nagarro Interview Question

How will you optimize a component so that it doesn't re-render a child component?