React Query - Data Fetching Hooks

preview_player
Показать описание
React Query is a fantastic tool that enables you to fetch remote asynchronous data inside of your components. It could be GraphQL, REST, or any other data source which responds with a promise. It comes with its own dev tools to visualize what it is doing, and a ton of amazing functionality such as stale-while-revalidate, refetch on focus, error handling, etc...

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

Love you man!!! since yesterday I watched so many tutorial on react query but none of them explained it this well. Subscribed.

alirasheedmd
Автор

Loved the explanation. Caching is the best thing RQ gives.

monfernape
Автор

I always enjoy your videos! Thanks! The error is not set up because fetch does not throw by default, you have to check the response and throw an error with a message yourself.

marcosfsjunior
Автор

Your videos are always super helpful and high quality, Leigh. Great content and learned a lot from you. Thanks for taking the time to make them!

andyslezak
Автор

Thank you! Was actually just looking at this library the other day.

Daniel-wxwz
Автор

Thanks, very informative and straight to the point!

realconect
Автор

Thank you! Needed an introduction to the library.

alburnto
Автор

Thank you so much Leigh, very well explained, it was the best video I've ever seen so far.

sogolnaseri
Автор

Thanks Leigh, amazing content as always. Greetings from Brazil ❤️

LauraBeatris
Автор

Great video, well explained. Thank you!!

tpol
Автор

Thank you for doing this. Been seeing a lot of chatter on dev twitter about this.

One tiny request: Maybe set the css for the html background to be a charcole color and the text to be an off-white. So that way going from the code editor to the browser isn't blinding bright.

#darkModeEverything

keepforever
Автор

Great video!! Replace {error} with {error.message} to show the error.

mamathadevarapalli
Автор

Thanks Leigh! I ❤️ this resource! great video, keep going!

chany
Автор

I like the look of this. Thanks for the demo :)

SHELLAC
Автор

I love your content it's always so well explained.

Freeman
Автор

Congratulations for this video using this promising library!
Can I use it to replace the use of redux, reselect and redux-thunk in my project?
The back-end I am using us firestore.
Keep up the good work!

stavroskefaleas
Автор

Personally always enjoy your inspired performance :)

tajpouria
Автор

Hi Leigh, thx for this amazing video, could you just please show an example where you implement it along with useEffect

mamunmokni
Автор

I am using react query to fetch data, I want to combine it will some kind of offline storage. What will be the best way to do it? Should I use asyncstorage or SQLite and how can I combine it for better control on data.

dijup
Автор

Would react query cache the api response when i switch between pages? If not, could you recommend me a library or a process that would help with this.

Current my ui is not very snappy because it always fetches data when i go to different routes on my website.

Thank you for the great video. Loved it.

jaskaransingh
visit shbcf.ru