Release Notes
Contents
Next.XP Demo 3
App router structure
Next.js' app router is now default folder structure for Next.XP projects. This includes support for pages and layouts, route groups, parallel and intercepting routes.
Improved Next.js localization
In addition to localization of content, Next.XP now supports localization of static texts both in client and server components. Use useLocaleContext hook in client-side components and I18n in server-side ones.
Major nextjs-adapter refactoring
In order to support the new app router, @enonic/nextjs-adapter has been substantially refactored.
Other improvements
-
next/Linkcomponent is now used for all internal links -
getAssetmethod for static assets