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.<p>I’m honesty surprised that is still an issue.