svelte-persistent-store icon indicating copy to clipboard operation
svelte-persistent-store copied to clipboard

A Svelte store that keep its value through pages and reloads

Results 15 svelte-persistent-store issues
Sort by recently updated
recently updated
newest added

Close #21 Close #20 Close #19 Close #18 --- ### Added - New alias for persisting into Browser local storage (`persistBrowserLocal`) - New alias for persisting into Browser session storage...

When I do a pnpm run build after installing your package, I get this ugly message in the terminal. Can it be avoided? (!) Use of eval is strongly discouraged...

bug
enhancement

So I've started learning and transitioning to .TS because it appears as though that is a good thing. But I'm having a hard time translating some components and helpers to...

When using this package with SvelteKit, I get: ``` ReferenceError: require is not defined in ES module scope, you can use import instead This file is being treated as an...

bug

I have a SvelteKit app that I need to persist what I see as two different kinds of user state... 1) Auth State: I am currently using an http only...

question

@macfja/svelte-persistent-store breaks and not be excluded during build: t async``` respond$1 (file:///C:/Users/Administrator/Documents/clienttry/.svelte-kit/output/server/index.js:1480:13) > 500 / at file:///C:/Users/Administrator/Documents/clienttry/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/dist/chunks/index2.js:975:11 at save (file:///C:/Users/Administrator/Documents/clienttry/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/dist/chunks/index2.js:1194:4) at visit (file:///C:/Users/Administrator/Documents/clienttry/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/dist/chunks/index2.js:1085:3) at processTicksAndRejections (internal/process/task_queues.js:95:5)  ELIFECYCLE  Command failed with...

bug
sveltekit

I get the following error when using sveltekit ``` __vite_ssr_import_0__.localStorage is not a function ``` this is my store code ``` export const cart = persist(writable({packages:[]}), localStorage(), 'cart') ```

bug
sveltekit
version 1.x

Persist has not worked for me at all, since 2.0.0. I've tried persist(), I've tried persistBrowserSession(), but both just forget everything when I hit refresh. I have watched the console...

bug
version 2.x

I just transitioned an old project to a new version of Svelte, with .TS and all the other upgrades I can think of., and I'm getting unusual references in my...

bug
question
version 2.x