-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
"Invalid prop data-headlessui-state
supplied to React.Fragment
. React.Fragment can only have key
and children
props."
#3351
Comments
Invalid prop
data-headlessui-state supplied to
React.Fragment. React.Fragment can only have
key and
children props.
data-headlessui-state
supplied to React.Fragment
. React.Fragment can only have key
and children
props."
Hmm interesting, I'm assuming you are using Headless UI in |
Yes, this case is from https://github.com/FixMyBerlin/atlas-app/blob/react-compiler-react-19/src/app/regionen/%5BregionSlug%5D/_components/SidebarLayerControls/StaticDatasets/SelectDatasets.tsx#L1-L8 and starts in the
I am seeing this value Any recommendation how to extract the relevant code? |
I have the same problem. It only occurs only in development mode. |
same issue testing React 19 rc.. waiting for updates! |
Same issue happening in React 19 RC Solution that worked for me is to add the |
don't work for me |
This is happening to me in |
Thanks @6ichem |
This error is very annoying........ I hope it gets fixed soon. Using NextJS 15 and React 18. This is not workable. |
Happening in React 19 with Vite 6, happening in |
What package within Headless UI are you using?
"@headlessui/react": "0.0.0-insiders.fbad6a9",
What browser are you using?
For example: Chrome
Reproduction URL
I was not able to create a minimal reproduction, yet. Will update once I have one. Wanted to share the issue now so others can search for it and help.
Describe your issue
I am testing React 19, Next 15, React Compiler in our Project. When rendering our app I am getting multiple console errors in the browser like…
I am seeing the same error with other libraries, so this might be a temporary or a new issue with React 19 or Next 15 or React Compiler.
The text was updated successfully, but these errors were encountered: