Home
Softono

Next Safe Action

Open source MIT TypeScript
3K
Stars
44
Forks
6
Issues
6
Watchers
4 months
Last Commit

 About Next Safe Action

Type safe and validated Server Actions in your Next.js project.

Platforms

Web Self-hosted

Languages

TypeScript

Need Help Installing Next Safe Action?

We provide expert installation service for this software. Our team will install, configure, and secure Next Safe Action on your server. plans start at just $30.

Next Safe Action

View on GitHub

next-safe-action is a library that takes full advantage of the latest and greatest Next.js, React and TypeScript features to let you define type safe Server Actions and execute them inside React Components.

Features

  • ✅ 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

Documentation

Explore the documentation for the current stable version of the library on the next-safe-action website. ✨

Migrate from v7 to v8

Check out the v7 to v8 migration guide to learn how to update your code for v8.

Installation

npm i next-safe-action

Playground

You can find a basic working implementation of the library here.

Sponsors

These amazing people and companies help keep next-safe-action running! ❤️

Sponsors

Contributing

If you want to contribute to next-safe-action, please check out the contributing guide.

If you found bugs or just want to ask a question, feel free to open an issue or a discussion by following the issue templates.

Contributors

Made with contrib.rocks.

Preview releases powered by pkg.pr.new

pkg.pr.new

License

next-safe-action is released under the MIT License.