Sollicitatievraag bij Cognizant

How do you avoid re-rendering of a component? With useEffect second parameter, should ComponentUpdate