Closed JustinVoitel closed 4 years ago
will try to downgrade svite tomorrow till its working again and comment here
can confirm when using the latest ts template for routify-mdsvex (svite 0.7.1), downgrading svelte to version 3.24.1
will make my first reproduction example work again (and I guess my second one aswell)
As discussed on discord, not caused by svite. See here for a brief description https://github.com/sveltejs/svelte/issues/4934
For routify goto, please follow the documented approach: https://routify.dev/docs/helpers#goto See here for an example with the url helper: https://github.com/dominikg/svite/blob/master/examples/routify-mdsvex/src/pages/_folder.svelte
Description
It seems like something is broken when using stores that rely on getContext() in some way. Currently in my project the goto helper of routify and mutate() function of @urql/svelte are getting both the same error:
Reproduction
npm svite create -t routify-mdsvex -ts
src/store.ts
:add this to
src/pages/index.svelte
:Welcome to the routify example
Check out the link in the nav
add this to
src/pages/index.ts
:Welcome to the routify example
Check out the link in the nav