-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sub-component pattern cause error when used in React Server Components #4368
Comments
Note there are a couple of issues that have a similar error over in the Next.js repo: https://github.com/vercel/next.js/issues?q=is%3Aissue%20state%3Aopen%20could%20not%20find%20the%20module%20in%20the%20react%20client%20manifest 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 |
hiya, Did you solve this problem? I have almost the same problem. |
like this problem, |
Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days. |
Can we please unmarked this as stale? This is my asset and transaction is there a way to reverse this? |
1 similar comment
Can we please unmarked this as stale? This is my asset and transaction is there a way to reverse this? |
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: