Skip to content

Explain that the useState setter triggers a re-render in Quick Start - #8667

Merged
aurorascharff merged 2 commits into
reactjs:mainfrom
benjaminkincses:docs/quick-start-rerender-sentence
Nov 7, 2026
Merged

aurorascharff merged 2 commits into
reactjs:mainfrom
benjaminkincses:docs/quick-start-rerender-sentence

Conversation

@benjaminkincses

Copy link
Copy Markdown
Contributor

Closes #8655.

The Quick Start guide introduces useState but never names the re-render: it says "React will call your component function again" without connecting that back to calling the setter, which the issue notes is a common point of confusion for beginners coming from plain JavaScript.

One-sentence change in the "Updating the screen" section: "Calling setCount triggers a re-render: React will call your component function again." This keeps the existing explanation intact while making the setter -> re-render causation explicit.

@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@aurorascharff aurorascharff left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!! ❤️ I made a small edit to better adhere to the skills inside in the repo.

@aurorascharff
aurorascharff merged commit e0ec287 into reactjs:main Nov 7, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — b14d3a7e Deployed Nov 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: improve useState explanation in quick start

2 participants