Closed phsantiago closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
cmdk-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 10, 2024 4:08pm |
Any word on the possibility to have this contribution accepted?
Hello @pacocoursey and the team,
Just a quick follow up on PR #165 for React backwards compatibility. Any news on its evaluation?
Hi, that would be great if you could merge this :)
This doesn't seem to work at all. Try testing on the preview deployment — everything is broken. I believe React.useId
is a strict requirement for this package to work in the way that it does.
Thank for the comment @pacocoursey. I fix some problems from the previous version:
Try testing on the preview deployment — everything is broken.
Could you test again? Now seems to be working fine. Should I duplicate the tests for running in react-16? Because now all tests passes but they are not using the compatibility code
I believe React.useId is a strict requirement for this package to work in the way that it does.
The only problem I couldn't solve was to have same Id from the ones server side generated, but all the rest is working fine now.
LGTM, I'm using the way you solved it to project running React 17
Any movement on this? Would be extremely useful
Deployment failed with the following error:
Resource is limited - try again in 1 hour (more than 100, code: "api-deployments-free-per-day").
@phsantiago how about the useSyncExternalStore
, have you found a decent workaround for it?
I've found a shim use-sync-external-store
that could partially solve the issue, but I'm open to a different approach if you've found one.
This is great. Thanks!
May I ask, when is this is expected to make it to a new package release?
Currently working on a project with React 16 and want to know when will the changes be available for release?
Heya @pacocoursey - bump on this, are we able to get a new release out that includes this change to accommodate React versions under 18? Is there anything else that needs to be done?
TIA!
@pacocoursey - bump on this, please put on a new release so that we can use cmdk on React < 18 version.
@pacocoursey - another bump - waiting on this as we're stuck on react@17
It's indeed such a pity that this is still stuck without a release. I had to go with an alternative, but I'm still hoping to try this one out. The fact that this library is explicitly about this use case makes me hope it'll be better than what I'm using now.
Projects not using react 18 are not able to use CMDK lib. #162
This PR implements retro-compatibility for one of the hooks from React 18 used by the lib.