useEffect 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.