aem-spa-project-core icon indicating copy to clipboard operation
aem-spa-project-core copied to clipboard

Support for RSC and NextJs 13+ App router

Open anthony-kirkham opened this issue 2 months ago • 0 comments

Is your feature request related to a problem? Please describe.

The current support for NextJs is based off their version 12 architecture Pages router, and is not suited to use with App router which leverages React Server Components.

The current solution for SPA currently supports client applications only, so using in remote headless configuration is not possible when using server rendered remote screens.

Describe the solution you'd like

Support for the newer versions of NextJs and App router with use of server rendered screens.

Describe alternatives you've considered

The current solution assumes the entire application is rendered on the browser, so using Pages router still works. However for more performant front-ends, this is limiting.

anthony-kirkham avatar Apr 17 '24 01:04 anthony-kirkham