useEffect by Ciro Santilli 37 Updated 2025-07-16
This should only be used for things that happen outside of the state that React trackes, e.g. window event handlers.

New to topics? Read the docs here!