shadcn/ui is unusable due to Type Errors
Hey folks!
I'm trying to use shadcn/ui for a project and keep on running into type error in many components. These are components written by shadcn and not my code.
Example with the Dialog:
A similar error exists in many others. Seems to be a pattern in using forwardRef with Radix components. Any idea on how to fix?
1 Reply
This seems to be fixed by updating
react
react-dom
@types/react
@types/react-dom
and @types/node
to latest