tailwindlabs / headlessui

Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
https://headlessui.com
MIT License
25.02k stars 1.03k forks source link

__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED and React 19 RC #3275

Closed logemann closed 3 weeks ago

logemann commented 3 weeks ago

upon trying to build my Next 15 RC (React 19) with headlessUI, i am getting the following build errors.

./node_modules/@headlessui/react/dist/utils/stable-collection.js
Attempted import error: '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' is not exported from 'react' (imported as 'r').

Import trace for requested module:
./node_modules/@headlessui/react/dist/utils/stable-collection.js
./node_modules/@headlessui/react/dist/components/tabs/tabs.js

What package within Headless UI are you using?

"@headlessui/react": "2.0.4",

What browser are you using?

Chrome latest.

Reproduction URL

no public github repo available.

Describe your issue

getting the outlines problem on building.

logemann commented 3 weeks ago

Oh. This is a duplicate. closing