Question d’entretien chez Cognizant

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