Closed hucancode closed 1 year ago
Any new on this?
Would be great to have next 13 app dir storefront
Easy start to just bump react 18 and next 13 https://github.com/medusajs/nextjs-starter-medusa/pull/76
AppDir and other specific aspects of NextJS13 come next
Would be great to have next 13 app dir storefront i am playing with medusa for testing with Sentry. We have been working on appdir support for our @sentry/nextjs SDK.
@bojkomatias out of curiosity what does app dir do for you that next 13 without appdir doesn't?
With the release of NextJS 13, it is now more convenient to fetch store data from server using React Server Component. I tried migrating and managed to get part of
products/[slug]
rendered on the server. Haven't done the benchmark but in theory it should be faster 😄 I see that packagemedusa-react
is stateful and supposed to be used in client. I wonder if I could skipmedusa-react
and only usemedusa-js
to fetch store data on the server. Is there anybody tried to do the same, can you share your experience?