-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Convert to use Server Actions #1011
Comments
Set cookies in a Server Action: https://github.com/vercel/commerce/blob/main/components/cart/button.tsx#L22-L33 |
@leerob what other places? 😬 |
Anywhere in this repo where we're inserting/updating/deleting data through event handlers and API Routes currently. |
Waiting on the following downstream bug fixes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are few places in this codebase that could utilize Server Actions, including the new support for optimistic UI:
https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions
The text was updated successfully, but these errors were encountered: