useEffect by Ciro Santilli 34 Updated +Created
This should only be used for things that happen outside of the state that React trackes, e.g. window event handlers.