React Lifecycle

React.useEffect(() => {
	console.log("Effects")        
	return () => {
		console.log("Clean up effects")
	};
}, [...dependencies]);

useEffect Hook

Made with Slides.com