useEffect Is Not a Lifecycle Method
Thinking in synchronisation instead of mount and unmount removes a whole class of bugs.
👍 4
·
💬 0
2 posts
Showing 2 posts
Thinking in synchronisation instead of mount and unmount removes a whole class of bugs.
Timers, cleanup, and tests for a hook that is easy to get subtly wrong.