Domanda di colloquio di TECHAFFINITY

How do you handle unmount phase in React Functional component?