-
Notifications
You must be signed in to change notification settings - Fork 2
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 5 #1041
Comments
Worth tracking if the Svelte REPL gets Svelte 5 support https://svelte.dev/repl/hello-world?version=4.2.19 Looks like not yet. When they do work on that, we can probably do the same in VizHub. |
There's a Svelte 5 REPL here: https://svelte-5-preview.vercel.app |
Oh amazing! That's extremely helpful. Thank you for sharing that! |
I think I found it!
It's really nice that this is already done as a self-contained Web Worker. There's a real possibility we could just copy in that entire Web Worker implementation into the VizHub codebase and use it as-is, replacing the old Svelte implementation. |
Do you have time to implement it in the next days? I'm not feeling very confident to change the VizHub code. 😬 And it would be great to use Svelte 5 for courses right away. |
No, I don't think I'll be able to do this in the next few days. There is a slight chance, but I have a lot going on at the moment. If anyone else wants to take a stab at it, that possibility is open! I can support a developer to get the env up and running via the VizHub Discord. If anyone picks this up, feel free to ping me in Discord. Cheers! |
I tried changing the However, the current implementation needs access to svelte/internal ( So we have to find a solution without using svelte/internal. |
Currently VizHub support Svelte 4.
It should support Svelte 5 which is way better, and is now stable.
This would be a good place to start:
https://github.com/vizhub-core/vizhub/blob/main/runtime/src/v3Runtime/transformSvelte.ts
The text was updated successfully, but these errors were encountered: