Package Exports
- next-safe-action
- next-safe-action/hook
Readme
next-safe-action is a library that takes full advantage of the latest and greatest Next.js, React and TypeScript features, using Zod, to let you define typesafe Server Actions and execute them inside Client Components.
Documentation
Explore the documentation for version 4 of the library on next-safe-action website. ✨
If you are looking for old versions documentation, check out:
Migration guide
Version 4.x.x of the library introduced some breaking changes to the API. Please check out the v3 to v4 migration guide on the website for more information.