-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Svelte 5 compatibility #144
Comments
I found a fix for this, I made a PR #145. |
Thanks @CropWatchDevelopment, but it looks like this is a regression with the Svelte 5 compiler (see issue and Twitter/X discussion, including confirmation by Simon (Svelte/Vercel team). I also found a workaround using Would it be OK if we wait a bit to see if this is resolved upstream before we consider a workaround? I'm curious what you found in TreeList. |
100% Yes OK to wait until later. After checking the Svelte repo and seeing all of the v5 issues logged. I am thinking I may wait a few months even before making the move. It seems like v5 may take a bit be fully worked out :) I will pull down the PR, but Hope to help out in the future! |
FWIW, the TBH, that's my plan ATM. As much as I love all the great things coming in Svelte 5, I personally will wait closer to the official release before I focus too much on it. My plan is for Svelte UX (and LayerChart) 1.0 releases to be fully compatibility with Svelte 3/4/5, and 2.0 I'll probably start embracing some of the Svelte 5 features (runes, snippets, etc) which will likely break 3/4 compatibility, but as long as 5 is a drop in replacement for 3/4, I think that's a fair tradeoff. Just the speed/size improvements in 5 running non-rune mode is exciting. Thanks for the PR and discussion. |
Filed sveltejs/svelte#10382 because SelectField.svelte fails to compile with latest Svelte 5. |
Thanks @dimfeld for submitting the upstream issue with repo. I've updated this issue's description to make it easy to track any known Svelte 5 compatibility issues. The Svelte team has been amazingly fast resolving these thus far. |
Haven't tried it but I think this will hit svelte-ux as well sveltejs/svelte#10395 edit: this one is fixed now |
Issue to track any Svelte 5 compatibility issues. Hoping close to
0
changes are required in Svelte UX to support 5.FIXED: can only receive attributes, not directives
issue: sveltejs/svelte#10382
fix: sveltejs/svelte#10391
FIXED:
type
attribute must be a static text value if input uses two-way bindingFixed via: sveltejs/svelte#9713
Reported in discord. If ran within the Svelte 5 beta (ex.
5.0.0-next.15
), currently Input throws a'type' attribute must be a static text value if input uses two-way binding
errorFIXED:
let
directive on<svelte:self>
issue: sveltejs/svelte#9710
fix: sveltejs/svelte#9727
The text was updated successfully, but these errors were encountered: