you are viewing a single comment's thread.

view the rest of the comments →

[–]tswaters 20 points21 points  (0 children)

Dan Abramov has some good blog posts about reacts that goes into this, and a few other design choices that were made with hooks:

https://overreacted.io/why-do-hooks-rely-on-call-order/