Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork39
Type safe and validated Server Actions in your Next.js project.
License
TheEdoRan/next-safe-action
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
next-safe-action is a library that takes full advantage of the latest and greatest Next.js, React and TypeScript features to let you definetype safe Server Actions and execute them inside React Components.
- ✅ Pretty simple
- ✅ End-to-end type safety
- ✅ Form Actions support
- ✅ Powerful middleware system
- ✅ Input/output validation using multiple validation libraries
- ✅ Advanced server error handling
- ✅ Optimistic updates
Explore the documentation for the current stable version of the library on thenext-safe-action v8 website. ✨
You can keep using version 6 and eventually upgrade to version 7. Check out the v7 documentationhere.
Check out thev7 to v8 migration guide to learn how to update your code for v8.
npm i next-safe-action
You can find a basic working implementation of the libraryhere.
A big shout-out to all oursponsors! You’re the driving force behind this library's growth, and we're truly grateful for your support. ❤️
ArcJet |
Pontus Abrahamsson | Robin Wieruch |
Vercel | Liam Murray | David Chalifoux | Rein Undheim | Merthan Merter | Marco Moroni | Gustavo Felisberto |
If you want to contribute to next-safe-action, please check out thecontributing guide.
If you found bugs or just want to ask a question, feel free to open an issue or a discussion by following theissue templates.
Made withcontrib.rocks.
next-safe-action is released under theMIT License.
About
Type safe and validated Server Actions in your Next.js project.
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.