Starting from next-safe-action v7.0.0-next.33, you are required to install a Next.js version >= 14.3.0-canary.40, because previous versions were missing support for React's useActionState hook, which is used under the hood for next-safe-action's useStateAction hook.
When the new stable release of Next.js with support for useActionState hook will be published, the next branch will be merged into main and version 7 of the library will be released.
Starting from next-safe-action v7.0.0-next.33, you are required to install a Next.js version >= 14.3.0-canary.40, because previous versions were missing support for React's
useActionState
hook, which is used under the hood for next-safe-action'suseStateAction
hook.When the new stable release of Next.js with support for
useActionState
hook will be published, thenext
branch will be merged intomain
and version 7 of the library will be released.