Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Conversation

treejamie
Copy link
Owner

@treejamie treejamie commented Apr 10, 2025

https://nextjs.org/learn/dashboard-app/mutating-data

I've always wondered how this was done. Now I know.

Security is a top priority for web applications, as they can be vulnerable to various threats. This is where Server Actions come in. They include features like encrypted closures, strict input checks, error message hashing, host restrictions, and more — all working together to significantly enhance your application security.

Covering:

  • What React Server Actions are and how to use them to mutate data.
  • How to work with forms and Server Components.
  • Best practices for working with the native FormData object, including type validation.
  • How to revalidate the client cache using the revalidatePath API.
  • How to create dynamic route segments with specific IDs.

More info:

security with Server Actions

Also, I discovered a few issues when working through this chapter. #21 #22

@treejamie treejamie self-assigned this Apr 10, 2025
Copy link

vercel bot commented Apr 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextjs-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2025 8:01am

@treejamie
Copy link
Owner Author

Loving the inspect and play with the PR before more functionality. That has to be a winner anywhere. If this was actual functionality, I'd suggest form validation, but I can see that comes in the next chapter of the course.

@treejamie treejamie merged commit a6e9030 into main Apr 10, 2025
2 checks passed
@treejamie treejamie deleted the 12-mutatating-data branch April 10, 2025 08:04
@treejamie treejamie moved this from WK DONE to APR 25 ARCHIVE in Project Learn Apr 14, 2025
@treejamie treejamie moved this from APR 25 ARCHIVE to In progress in Project Learn Apr 14, 2025
@treejamie treejamie removed the status in Project Learn Apr 14, 2025
@treejamie treejamie moved this to APR 25 ARCHIVE in Project Learn Apr 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

No open projects
Status: APR 25 ARCHIVE

Development

Successfully merging this pull request may close these issues.

1 participant