4

The fact that state updates in React are asynchronous is a cancer that is holding humanity back 10,000 years.

Comments
  • 3
    Lol that indeeds sounds like a pain in the ass!
  • 2
    technically, what is holding us back, is that react even exists in the first place.
  • 1
    @Lensflare

    >do what intuitively feels like a variable assignment

    >variable doesn't have the value you assigned available in the next line, it'll only have it after the next render which your state setter call triggers

    It's amazing
  • 1
    @nururururu I imagined this exact example when I read your rant 😂
Add Comment