Skip to content

fix: server action params when using useFormState - #6685

Open
alexandreferreirafr wants to merge 1 commit into
reactjs:mainfrom
alexandreferreirafr:fix/server-action-params
Open

alexandreferreirafr wants to merge 1 commit into
reactjs:mainfrom
alexandreferreirafr:fix/server-action-params

Conversation

@alexandreferreirafr

Copy link
Copy Markdown

When used with useFormState, the server action requires 2 params: (prevState, formData) => newState

@github-actions

github-actions Bot commented Mar 7, 2024

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

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.

2 participants