Compatibility with Nextjs 13 app's directory and server components

Hi team,

Now that Nextjs 13 has been released supporting React server-components in the new app directory, any guidance in the documentation on how to best integrate would be appreciated.

The best solution I have found so far is to fetch the page data through the content API in a server component, and pass it to a child client component which contains the imports
BuilderComponent, builder to render the page. This is needed because the different Builder components use React.createContext, which are not supported in a server component.

Please also consider making the SDK natively compatible with the new app directory in Nextjs 13.

Thanks in advance,

1 Like