useEffect cleanup ??
I kept seeing useEffect cleanup everywhere and honestly… it never clicked at first.
People explain it like some React-specific rule, but that’s not what it is.
What’s actually happening is very simple.
If you start something inside useEffect —a timer...
sujalrana.hashnode.dev1 min read