bloomreach / spa-sdk

Apache License 2.0
17 stars 14 forks source link

Example Next 13/14 #27

Closed Andrekra closed 2 months ago

Andrekra commented 11 months ago

Hi, can you provide an example how to use the SDK with Next 13/14 with specifically the App router and fetch (to benefit of request memoization). It's API is quite different compared to the Pages Router (for example no getServersideProps, a new generateMetada method that relies on using fetch for caching). For now they live side by side, but at some point they will be removed.

ValeriaPtah commented 10 months ago

Hi! We don't have an official support and an example app for Next 13/14 yet, but it makes sense to upgrade the SDK to support these newer versions. We put a project on our roadmap to do just that. I'll keep this question updated for when we have specifics to add.

MrSharpp commented 9 months ago

I want it too

hachok commented 6 months ago

I have updated the Next example app with Next 13. Once we update the repository dependencies to support Node 18, I'll update the example app with Next 14.

hachok commented 2 months ago

The SPA SDK 23.3.2 has been released. It includes the Next example app using Next 14.