Skip to content

Conversation

@MateoKruk
Copy link
Contributor

This PR implements retro-compatibility for useSyncExternalStore. Hopefully with this PR and #165 we can use cmdk without issue in other React versions.

@vercel
Copy link

vercel bot commented Aug 5, 2024

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 Oct 30, 2024 6:18pm

@MateoKruk
Copy link
Contributor Author

thoughts @pacocoursey?

@MateoKruk
Copy link
Contributor Author

friendly ping @pacocoursey

@DipankarNath
Copy link

@phsantiago pls, merge this pr

@MateoKruk
Copy link
Contributor Author

this is more for @pacocoursey

@pacocoursey pacocoursey merged commit 0bd1fe2 into dip:main Oct 30, 2024
@tadeumaia
Copy link

tadeumaia commented Oct 30, 2024

I think this might have broken some usages of cmdk on next15/react19.
Maybe the use-sync-external-store should be at 1.4+ for react 19?

If I build from source without this pr everything works fine.

This is what I am getting.
CleanShot 2024-10-30 at 17 45 17@2x

@parweb
Copy link

parweb commented Oct 31, 2024

same for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants