react.dev
react.dev copied to clipboard
fix: server action params when using useFormState
trafficstars
When used with useFormState, the server action requires 2 params: (prevState, formData) => newState
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! 🙌