React Hooks SWR: Fetch, Cache and ReValidate server data with SWR and Axios

preview_player
Показать описание
We'll see how to use SWR to improve the User Experience of our applications.

We'll be using the following techniques in this tutorial:
- cache
- mutate cache
- trigger a new HTTP call to "renew" cache

Full tech list:

----
----

---
----
----

Follow me on:
Рекомендации по теме
Комментарии
Автор


Please don't do jest.mock('swr') or jest.mock('axios') or jest.spyOn(window, 'fetch')
Instead, use something like MSW (mock service worker) to mock your HTTP calls

BrunoAntunesPT
Автор

That is the best-structured video tutorial I've ever seen. Awesome. For the first time when a youtuber said "like and subscribe", I did immediately. Thanks Bruno.

itsmylife
Автор

Your excitement of teaching was constant in entire video, I really enjoyed !

ashishbadgujar
Автор

The most amazing and to the point tutorial on SWR.. Love you Bruno!

samyogdhital
Автор

Give this guy a Nobel Price!! amazing tutorial!

Aiducateur
Автор

I've watched it one year ago and now I'm here again. Really nice tutorial/reference about SWR =)

felipemuner
Автор

Hey Bruno, Thanks brother.. I was just going overt the comments and read the discussions( it cleared my most of the doubts ❤️) . I am surprised how you are responding to each doubt .. it's amazing to see.. Thanks again.. make more videos.. you are building a solid community.. take love & support ❤️

_sumitdey.exe
Автор

Your videos and content are exactly what I'm looking for. I can't even count how many times I've repeated your videos as I create my test projects. Your accent is just a cherry on top of your great content, makes everything more interesting. :D Please support him by liking, subscribing, sharing and not skipping the ads ;) Thank you so much Bruno. Please continue to make awesome videos.

abbyadroit
Автор

Man @Bruno you are a magician. You make coding looks so easy. Hats off to you. Keep making such videos and keep motivating us through your codes

manushahi
Автор

Thanks! I got literally everything I wanted to know before implementing swr from one video

halindra
Автор

Awesome tutorial!!! nextjs, my new crush.

surajitdas
Автор

Bruno! Your channel deserves more subs than it does. You're amazing!

ThienNguyen-uijl
Автор

Bro loved your video right from the time you showed love for formik. Obviously you've got a way of explaining things nicely and making things interesting, you should make more such videos.
My company needed me to implement swr in our nextjs project and I've learnt it better here than the entire day I spent reading the docs.

sky_kryst
Автор

Amazingly good explanation of SWR! Thank you!

IsmaelRumzan
Автор

Your awesome! One of the best at explaining and presenting! Thank you!

yo
Автор

Thanks for the nice video! That helped to understand SWR better

maksymspaskyi
Автор

Awesome thanks Bruno. Tons of useful info, well explained, and I love your energy too!

PeterBernardin
Автор

it was very attractive, i've needed it :)))
Where was this tutorial that i didn't watch it ... thank you man :)))

hamed
Автор

Thank you. I was looking for something like this over the past week on my React application I was building but I couldn't quite get anything until today, This is just perfect.

KeepItFresh
Автор

Amazingly explained. I still do have few doubts but you provided a great explanation. I need to play around with SWR for sure.

ApurvKhare