slightlyoff@toot.cafe ("Alex Russell") wrote:
`useEffect()` (née: `shouldComponentUpdate()`) is an in-your-face clue that React is bad at its one bloody job.
It does not manage state (if it did, you wouldn't have Redux, etc.).
It does not prevent side effects (exercise to the reader).
It merely holds your coat while you destroy the main thread.