modern-fetch-with-svelte icon indicating copy to clipboard operation
modern-fetch-with-svelte copied to clipboard

use localstorage

Open websocket98765 opened this issue 5 years ago • 0 comments

I watched your Svelte Summit talk. Very useful!

Just wanted to suggest using localstorage instead of map because it will retain the cache across page reloads & browser tabs.

Also, would you consider posting to NPM? A really simple SWR fetch lib would be great for Svelte ecosystem. Even though it's short, a one line import is even better!

websocket98765 avatar Nov 04 '20 17:11 websocket98765