Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention that uncontrolled form elements are reset by form actions #7340

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

jeremy-deutsch
Copy link
Contributor

The docs don't currently mention that form actions also reset the form (except for controlled elements) - this PR adds that note.

This section likely also wants to note that form actions are non-blocking Actions, but that should probably be added once the docs have a central explanation of what Actions are (besides this section of useTransition).

Copy link

vercel bot commented Dec 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
19-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2024 7:08pm
react-dev ✅ Ready (Inspect) Visit Preview Dec 7, 2024 7:08pm

Copy link

github-actions bot commented Dec 7, 2024

Size changes

📦 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! 🙌

@gaearon gaearon merged commit 807e7fa into reactjs:main Dec 16, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants