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 Renaming of useFormState #65934

Merged
merged 3 commits into from
May 18, 2024
Merged

Mention Renaming of useFormState #65934

merged 3 commits into from
May 18, 2024

Conversation

Arinji2
Copy link
Contributor

@Arinji2 Arinji2 commented May 18, 2024

The useFormState hook was renamed to useActionState in react 19. At this moment react 19 is still in Canary, it would be hard for beginners to realise this.

Mentioning the fact of it being renamed will ideally help new people.

@Arinji2 Arinji2 requested review from a team as code owners May 18, 2024 17:12
@Arinji2 Arinji2 requested review from ismaelrumzan and jh3y and removed request for a team May 18, 2024 17:12
@ijjk ijjk added the Documentation Related to Next.js' official documentation. label May 18, 2024
Copy link
Member

@samcx samcx left a comment

Choose a reason for hiding this comment

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

Thank you for submitting a PR! Looks good to me.

@samcx samcx enabled auto-merge (squash) May 18, 2024 19:14
@samcx samcx merged commit 695aec9 into vercel:canary May 18, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants