SSR and SSG on Next.js with AppRouter

Hello @EddieTB,

It appears that our GEN1 React SDK doesn’t support server-side components. As an alternative, we suggest using our Builder NextJS SDK, @builder.io/sdk-react-nextjs. This SDK is specifically designed for use with NextJS’s app directory and includes essential dependencies tailored to NextJS-specific functionality.

You can find more information about its usage in our documentation: Builder NextJS SDK README.

If you have any questions or need further assistance, please don’t hesitate to let us know!