You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a component that has a sub-component pattern, like PageLayout, the component is not able to be used in a React Server Component as it has the following error:
Error: Could not find the module ".../react/lib-esm/index.js#PageLayout#Header" in the React Client Manifest. This is probably a bug in the React Server Components bundler.
Steps to reproduce
Create an application using the app-router example
Try to use PageLayout or other components that use the sub-component pattern in page.tsx
My guess is that it does not have a stable reference that it can refer to from the client-side bundle because we're doing a dynamic lookup on an export
Description
When using a component that has a sub-component pattern, like
PageLayout
, the component is not able to be used in a React Server Component as it has the following error:Steps to reproduce
Create an application using the
app-router
exampleTry to use
PageLayout
or other components that use the sub-component pattern inpage.tsx
Observe the error above
Version
v36.x
Browser
No response
The text was updated successfully, but these errors were encountered: