illustration for Create an Optimistic UI in React with SWR

Create an Optimistic UI in React with SWR

Instructor

Sam Selikoff
15m
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.5
106
people completed
Bookmark
Download
RSS

Vercel's data-fetching library SWR features a client-side cache. Learn how to use the mutate hook to manipulate this cache in order to optimistically update your UI without waiting for a response from the network.

Learn more about SWR here: https://github.com/zeit/swr