1 comment

[ 3.1 ms ] story [ 14.5 ms ] thread
useEffect stale closures and weird behavior is a serious design flaw. It’s kind of like implicit null (the “billion dollar problem”) except instead of getting a clearly-marked null value you get an old value which just causes so much issues.

I’m honesty surprised that is still an issue.