1. 1
    Optimistically Update SWR's Cache with Client-side Data
    3m 11s

Optimistically Update SWR's Cache with Client-side Data

InstructorSam Selikoff

Share this video with your friends

Send Tweet

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

Patrick Clancy
~ 4 years ago

is there a git repo for this course? It's hard to see the entire script and it's dependencies.

Lucas Minter
~ 4 years ago

No. There is currently no repo for this course.

Sam Selikoffinstructor
~ 4 years ago

Whoops sorry about that, here you go! https://github.com/samselikoff/2020-04-24-swr-optimistic-updates

Lucas Minter
~ 4 years ago

I'll go ahead and get this linked in each of the lessons!

Sam Selikoffinstructor
~ 4 years ago

Awesome thank you!

Patrick Clancy
~ 4 years ago

You guys are awesome!! Thank you so much.