-
Notifications
You must be signed in to change notification settings - Fork 10
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
Reduce warnings... #40
Comments
Thinking about it, we can't. Because props are different. |
Right? |
If we just remove such prop? I mean, we can live using the Comparing the needed boilerplate: import { router } from 'yrv';
console.log($router.path); vs export let router = null;
console.log(router.path); I'm not aware of the implications, but the change is fairly simple. |
Oh dear. This is amazing! |
So we are just using Svelte stores, right? |
Yes! Actually there is a subtle difference, the If we change that, we need to remove the |
In order to reduce
<PageX> was created with unknown prop 'router'
warning can we use something likesvelte-spa-router
?https://github.com/ItalyPaleAle/svelte-spa-router/blob/master/Router.svelte#L207-L211.
What do you think about?
The text was updated successfully, but these errors were encountered: