Type safe and validated Server Actions in your Next.js (App Router) project.
Starting from this version, Next.js version >= 14.3.0.canary-40 is required. When React's useActionState
hook will land in Next.js stable version, next
branch of next-safe-action will be merged into main
, and version 7 will be released.
action
method, without schema
call (3935e9f)use
method (054487c)rebuild:lib
command (cff3545)PrettyMerge
type in utils file (f7eb50c)