Course lesson

Optimistically Update SWR's Cache with Client-side Data

Learn how to use the mutate function returned from useSwr(key) to update the client-side cache's value for the given cache key.

Duration
3 min
Access
Free
Transcript
Available

Learn how to use the mutate function returned from useSwr(key) to update the client-side cache's value for the given cache key.