DEV Community

Discussion on: We don't know how React state hook works

markerikson profile image
Mark Erikson

FWIW, I have an extensive post at A (Mostly) Complete Guide to React Rendering Behavior that goes into more detail on these topics, including batching, when state updates are applied, and perf optimizations.