React Lifecycle

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

useEffect Hook

React Lifecycle

By Rodrigo Arriaran