-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Svelte 4 #152
Comments
Yes, I'll be hoping to release official Svelte 4 compatibility soon, but I haven't tested it out much yet because some of my dependencies need to be upgraded. In the meantime, please let me know if anyone has been using the library with Svelte 4 successfully or unsuccessfully. From what I've seen it should be fine, but this library's internals do some pretty sophisticated things in a few places, which is why I haven't just bumped the |
I've been using |
I've been using the |
It seems to work well, no issue so far |
I've been using the |
|
Listbox has been working fine for me too. |
Has anyone found a workaround for the peer dependencies not being aligned to use while this issue sits in limbo? |
@MaximumMaxxx You should be able to just ignore the warning. I've been traveling lately but I plan on releasing an update to bump the peerDependencies in a week or two. |
In case anyone is wondering how to overwrite the peer dependencies - this worked for me: "devDependencies": {
...
"@rgossiaux/svelte-headlessui": "^2.0.0",
"svelte": "^4.1.2",
...
},
"overrides": {
"@rgossiaux/svelte-headlessui": {
"svelte": "$svelte"
}
} |
Thank you for this. Have been using in production for two weeks with no issues @rgossiaux |
I'm using with Svelte v4 and it looks like the |
Svelte 5 support? Unfortunately it's not backwards compatible and it's not as simple as version bump. Any plans to support svelte 5? |
I have created a new fork for us to share so we can fix these issues: https://github.com/PyongyangOpenSource/svelte-headlessui |
Changelog:
https://github.com/sveltejs/svelte/blob/master/packages/svelte/CHANGELOG.md
The text was updated successfully, but these errors were encountered: