Issue compiling server component as prop in child component #67127
Labels
bug
Issue was opened via the bug report template.
invalid link
The issue was auto-closed due to a missing/invalid reproduction link. A new issue should be opened.
Runtime
Related to Node.js or Edge Runtime with Next.js.
Link to the code that reproduces this issue
#67125
To Reproduce
import "server-only"
andnext/headers
Current vs. Expected behavior
Current:
Expected behavior:
Server component & client component should be able to render together
Article https://nextjs.org/docs/app/building-your-application/rendering/composition-patterns#supported-pattern-passing-server-components-to-client-components-as-props
Provide environment information
Which area(s) are affected? (Select all that apply)
Runtime
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
Webapp dependencies
Additional details
#67125
The text was updated successfully, but these errors were encountered: