ui icon indicating copy to clipboard operation
ui copied to clipboard

[feat]: Add react 19 support

Open amadevss opened this issue 1 year ago • 3 comments

Feature description

When the project is deployed, it marks too many errors due to compatibility issues with the dependencies they use and react19 itself.

Image

Affected component/components

Combobox and calendar

Additional Context

Additional details here...

Before submitting

  • [x] I've made research efforts and searched the documentation
  • [x] I've searched for existing issues and PRs

amadevss avatar Mar 17 '25 16:03 amadevss

It will work if you install react 18

muhammadalizkhan avatar Mar 18 '25 01:03 muhammadalizkhan

Yeah and upgrading cmdk to latest causes issues aswell. imt not sure how to resolve..

AdrianFred avatar Mar 18 '25 08:03 AdrianFred

See this docs page. There is a canary release that supports React 19 and Tailwind V4.

Also, see this GitHub discussion.

BrendanC23 avatar Mar 18 '25 19:03 BrendanC23

can you update your dependencies? cmdk has been updated to work with React 19.

npm install cmdk@latest

shadcn avatar Mar 19 '25 11:03 shadcn

can you update your dependencies? cmdk has been updated to work with React 19.

npm install cmdk@latest

I tried updating every dependency to latest and had no issues installing it all. But when i use the combobox for example, the options within it is not working. They are greyed out kinda and not selectable

AdrianFred avatar Mar 20 '25 09:03 AdrianFred