Skip to content

Conversation

@delbaoliveira
Copy link
Contributor

@delbaoliveira delbaoliveira commented Nov 29, 2023

  • Rename page from forms-and-mutations to server-actions-and-mutations to account for examples that don't use forms.
    • Split /pages and /app content to make easier to edit
  • Add Security Section
    • Recommend tainting
    • Closures and encryption
    • Overwriting encryption keys
    • CSRF protection | Allowed Origins
  • Add examples for Server Actions being called outside forms
    • useEffect
    • Event handlers
    • 3rd party libraries
  • More form examples
    • Add note on calling actions in <button> and <input>
    • Add .bind example | Recommend bind over hidden input field
  • Recommend try/catch for error handling
  • Create serverActions next.config.js page
    • Document allowedOrigins
    • Document bodySizeLimit
    • Add note on Server Actions flag for < v14
  • Update error message links
  • Remove Server Actions from API reference as it's a React feature. E.g. We don't have API references for Server Components.
  • Set up redirects: https://github.com/vercel/front/pull/27721

@github-actions
Copy link
Contributor

github-actions bot commented Nov 29, 2023

All broken links are now fixed, thank you!

@manovotny manovotny removed the request for review from StephDietz December 7, 2023 20:55
@leerob leerob merged commit d5836a3 into canary Dec 7, 2023
@leerob leerob deleted the docs-server-actions-7ghd branch December 7, 2023 21:12
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants