from Hacker News

Prisma founder: “I'm starting to give up on React Strict Mode”

by sicromoft on 5/8/22, 9:33 PM with 1 comments

  • by armchairhacker on 5/8/22, 10:55 PM

    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.