Question d’entretien chez JPMorganChase

How do you execute something before a component unmounts in React?