TheEdoRan / next-safe-action

Type safe and validated Server Actions in your Next.js (App Router) project.
https://next.next-safe-action.dev
BSD 3-Clause "New" or "Revised" License
1.38k stars 26 forks source link

[IMPORTANT] [v7] Next.js >= 14.3.0-canary.40 version is required #113

Open TheEdoRan opened 3 weeks ago

TheEdoRan commented 3 weeks ago

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.