react.dev
react.dev copied to clipboard
Update queueing-a-series-of-state-updates.md
The thin line between setter logic and batching lies in their distinct roles: setters initiate state updates, while batching determines how React schedules and groups these updates for efficient re-renders.
The pull request was initiated as a result of this Reddit thread: https://www.reddit.com/r/reactjs/comments/1jtnbef/comment/mm0v20w/?context=3