How to data bind with pageData?
If I bind directly to data, like:
No longer able to import $lib files – ENOENT: no such file or directory
In my Svelte 5 / Sveltekit project, when I npm run build, I get the following error:
Is there a way to refactor this code? Can I create an helper from it?
I need all the below code to be able to persist in the URL (query string) some variables I’m using in a Svelte 5 / Svelte Kit project page.
access current request event cookie in a module other than server load functions
In svelte, I’m trying to create a module that that gives you an Storage api that is the same for ssr and csr. For instance you can’t use localStorage in a server-side component, so calling that method during ssr is basically a NO-OP.