v0.5.0
Changelog
With the recent stabilization of the App Router mode in Next.js 13.4.0, it has now become the primary way to develop Next.js applications.
As a result, we are offering full support for the App Router in @effector/next
by injecting the 'use client'
directive in the package bundle. We have also updated the documentation to provide more detailed explanations on how to use the App Router with effector
.
Pages Router will be supported for a next few major updates of Next.js, so @effector/next
still supports it too.
Migration Path
If you previously used @effector/next with App Router by re-exporting the 'provider with 'use client', just use the direct import from the library as the directive is now bundled into the package.
Re-exported version of provider can be deleted from the project.
📚 Pull-requests
- App Router update: Support
"use client"
#13 (@AlexandrHoroshih)