You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With <SWRConfig fallback={{'/foo': 'bar'}} >
and useSWR('/foo') I can persist the cache with persist(cache.get('/foo'))
but if no single fetch is made eg useSWRImmutable('/foo') as '/foo' is provided in fallback, cache.get('/foo') returns null.
Expected Behavior
fallback should be set in cache, so it can be retrieved by cache.get() no matter if a revalidation occurred or not