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
#6646 updated the components so they always compiled with use client. This works well for top level components but for the nested child , this seems to fail with the following error.
- error node_modules/next/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js (1684:8) @ attemptResolveElement
- error Error: Unsupported Server Component type: undefined
at stringify (<anonymous>)
I am using a basic dropdown button inside of a server page.
Prerequisites
Describe the bug
#6646 updated the components so they always compiled with
use client
. This works well for top level components but for the nested child , this seems to fail with the following error.I am using a basic dropdown button inside of a server page.
If I remove
Dropdown.ItemText
andDropdown.Item
, the component renders with no errors.Expected behavior
I would expect the entire dropdown to render on the client side with no errors.
To Reproduce
Reproducible Example
https://codesandbox.io/p/sandbox/wonderful-thunder-np5s83
Screenshots
What operating system(s) are you seeing the problem on?
Windows, Linux
What browser(s) are you seeing the problem on?
Chrome
What version of React-Bootstrap are you using?
v2.9.0-beta.0
What version of Bootstrap are you using?
5.3.0
Additional context
No response
The text was updated successfully, but these errors were encountered: