Question d’entretien chez Cognizant

How componentWillUnmount works in React Application?