-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Will the library support Svelte 5? #318
Comments
We will make it happen at some point if @ItalyPaleAle approves it! |
Yes support for Svelte 5 is definitely a goal. I'll look into it when the Svelte 5 project becomes a bit more stable (And of course, PRs are welcome :) ) |
Svelte recently published their Svelte 5 release candidate.
https://svelte.dev/blog/svelte-5-release-candidate And Rich offered a few pointers on migrating libs in the Svelte5 RC release announcement |
From this page @tgf9 you can also monitor the actual status: https://svelte-5-preview.vercel.app/status We are already working on the migration to make it available as soon as v5 is ready 👍 |
Should have something ready in the next few days :) I believe the router should still work with v5 for now, temporarily, thanks to the backwards-compatibility |
any updates on this? |
Svelte 5 has been officially released, we are looking forward to supporting it in the next few weeks! |
I just looked into it, if you upgrade right now to svelte 5 it will work fine, I didn't find any issue this thanks to the backward compatibility, but if you want to be sure wait a little bit until I prepare the PR :) Quick note:
Stay tuned! |
Svelte 5 is not compatible with svelte-spa-router/wrap 'Type 'Component<$$ComponentProps, {}, "">' is not assignable to type 'ComponentType'. |
Hey folks, thanks for your patience. I've been incredibly busy with my day job and I'm currently on vacation. I'm hoping to get this done in the next week. |
@carbogninalberto Could you please explain how you got it working on Svelte 5? I am trying this, but it does not work:
|
on this line update from:
to
or
|
A workaround:
Hopefully gets resolved soon. |
I have looked into the support for svelte 5 it will take a bit longer because there are some parts of the code that need a refactor. I will open the PR soon. |
I was a full invested svelte-spa-router user until 5 dropped and didn't have a choice but to do my part and throw up https://github.com/mateothegreat/svelte5-router for the community. Hope it unblocks somebody. Thank you for all your hard work in keeping this lib alive -- it definitley inspired me <3 |
@mateothegreat that is not appear to be a hash-based router so it is not comparable |
@brandonkal If you really need a svelte 5 native hash router, I wrote something a few month back. It's jsut a side project however, so I would be wary of using it in prod. |
No description provided.
The text was updated successfully, but these errors were encountered: