We Don’t Know How React State Hooks Work

We use them all the time, and we think we know state hooks work (useState, useReducer). But under the hood, as expected, things are not what you imagine. This talk is about update queues, batching, eager and lazy updates, and some other cool things learned from looking at Hooks source code. It also contains practical takeaways that will help you better understand and debug your code.

Adam Klein
Adam Klein
28 min

Check out more articles and videos

Workshops on related topic