News for hackers. Stuff that matters.
Re:The Plan for React 18 by CGamesPlay on Tuesday June 08, 2021 @01:58PM (#27438607)
I think the gist of it is that JavaScript doesn't have threads, or isolated state. So your code can theoretically do anything it wants, but the React concurrency stuff is riding on your code only using a specific set of APIs, and does things like calling your functions on cloned instances with different props. If you aren't writing your code "in the React way" it very quickly leads to very confusing inconsistent behaviors.

There are no comments on this comment yet.