React.useEffect(() => { console.log("Effects") return () => { console.log("Clean up effects") }; }, [...dependencies]);
useEffect Hook
React Hook Flow by Kent C. Dodds - CodeSandbox
By Rodrigo Arriaran