Open RDIL opened 1 month ago
Same error here :(
I have the same error. When will this be fixed? I want to practice Nextjs 15 (rc) + shadcn ui !
Radix needs to be React 19 ready first. Which is happening right now with https://github.com/radix-ui/primitives/pull/2934. Shadcn/ui will probably follow shortly after.
This is fixed in the new release candidate versions – please upgrade to the latest rc’s
Radix React 19 compatibility RC => https://github.com/radix-ui/primitives/pull/2934
New RC versions => https://github.com/radix-ui/primitives/commit/1910a8c91c5927e58b8fca3aeaa31411f32fee7c
Describe the bug
React 19 has deprecated forwardRef - that means that these components will need to be modified in order to stop the deprecation warnings. The replacement is just to pass ref as a prop.
Affected component/components
Almost all
How to reproduce
Use next.js canary and open browser console
Codesandbox/StackBlitz link
https://github.com/vercel/next.js
Logs
No response
System Info
Before submitting