svelte-stored-writable
svelte-stored-writable copied to clipboard
βοΈπΎπ A simple drop-in extension of Svelte's writable that stores and restores its contents using localStorage.
Results
2
svelte-stored-writable issues
Sort by
recently updated
recently updated
newest added
trafficstars
I only want a simple store without schema validation. Can I pass null to the second parameter, so something like that? I'm trying to avoid having to use another framework...
enhancement
If there is an existing localStorage entry for `key`, the library should not throw an error, but replace the existing `localStorage` entry with the `initialValue`. This allows users of this...