Replies: 1 comment
-
After investigation, I have realised that my links trigger a full page reload because they have Can somebody tell me if this is the desired behaviour ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am having a hard time with something.
I have created many websites with svelte+sveltekit that include page transitions, both before and after runes (svelte 5). And on my recent website I cannot make it work because the client side routing does not seem to work. I actually have a recent other website that is very similar. I keep comparing them and don't understand what would be different.
ssr
andprerender
contants tofalse
in both+layout.js
.#key
ondata.pathname
which comes from what my layout load function.As far as I can tell, the only significant difference is the specific versions for each library.
The website which works has these packages:
And the new one which does not work has these packages:
The reason why I know the new one does not have the client side router work is because I
$inspect
thedata.pathname
and each time I change page, it refreshes and adds a singleinit
value to the logs.I would be grateful if anybody could help me find out what the problem is.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions