-
Notifications
You must be signed in to change notification settings - Fork 184
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
Feature Request for Svelte 5 support #307
Comments
svelte 5 support would be great.. |
Short Info ... Svelte ist Not more in a"next" Version. The new Version ist released and stable. |
The error is in Route.svelte file:
In Svelte 5, components are not classes anymore, so this check is invalid. The above PR still has these lines, so passing component property still won't work with Svelte 5. |
I hope the migration to Svelte 5 ist possible to implement the next time. I could need it for my current project. Greetings Mario |
Non-migrated version works with Svelte 5, except for the class check hack.
…On Thu, Oct 31, 2024, 20:56 Mario Linz ***@***.***> wrote:
I hope the migration to Svelte 5 ist possible to implement the next time.
I could need it for my current project.
Greetings Mario
—
Reply to this email directly, view it on GitHub
<#307 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGXKYGXBL64I36CTGUZLKTZ6J4PLAVCNFSM6AAAAABOGENUHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJQGYYTCMJYGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
There is a forked version that is migrated to svelte5 here |
Hi @JacobCutshall , You like to maintain this fork in future? Mario |
@GELight I do plan on maintaining it. It isn't fully migrated yet. It is currently missing proper implementations for 2 props currently 'getProps' & 'component' |
Environment:
I have installed your router (I already used it in my old Svelte 3 and Svelte 4 projects) in my new Svelte 5 environment.
Problem:
Visually the router is running, but my console log shows errors on mount and on every router navigation.
The error looks like this:
This is my using:
Note:
The
cow-ps-button
component is a custom element which is imported in my index.html(not inside my Svelte component where I use the router).
No errors occurred in older versions of Svelte.
The text was updated successfully, but these errors were encountered: