Skip to content

default fetcher, localStorage cache adapter

Compare
Choose a tag to compare
@darrenjennings darrenjennings released this 21 Dec 16:54

Adds Fetch API as the default fetcher, parity with swr
Adapts SWRVCache slightly and adds first code built-in cache adapter LocalStorageCache. Also updates configs to allow for client defined webPresets e.g. isOnline, isDocumentVisible etc. to have parity with swr codebase.

#123
#120