React Query Tutorial - 8 - Refetch Defaults

preview_player
Показать описание

Use coupon code: CodevolutionYoutube for any workspace upgrade. Select "Add promo code" on checkout, enter the code, then hit "Apply". This will apply a 100% OFF lifetime discount to your subscription. Enjoy and feel free to invite others to your workspace!

📱 Follow Codevolution

React Query Tutorial on Refetch Defaults
Refetch Defaults in React Query
Рекомендации по теме
Комментарии
Автор

Wow! I am mind blown by how well thoughtout this tutorial series is! A big thank you for doing it for us

albinj
Автор

Your react-query tutorial really helps me to build my skills on react-query. Thanks

ghanshyamdeore
Автор

Your react-query tutorial really helps me, ty

Mohammed-
Автор

Hello Vishwas Gopinath, I really like your way of explaining, , ,

AkshayGupta
Автор

Im facing an issue over there, if i apply an input field and onClick on input field, request again goes, how i ll handle that.

usamauet
Автор

Can you explain us about tanstack query

smithamalarvizhir
Автор

can do samthings in createApi endPoints like this

endpoints: (builder) => ({
getPosts: builder.query({
query: (posts) => {
return {
url: "/users",
method: "POST",
mode: "cors",
credentials: "same-origin",
body: posts,
};

},
refetchOnMountOrArgChange: true,
})
if yes then why it's not working in my code ?

DilpavittarSingh
Автор

@Codevolution, Instead of, {staleTime: 5000, refetchOnMount: true} together if I write staleTime: 5000, then it should work the same way only. Right?

dedrajsharma
Автор

in my case it's working just opposite. even the refresh won't get the latest data and relies on cached data with defaults.

MercedeX
Автор

isn't refetch on focus expensive? I mean is used in an app with 10000 users and almost all of them are online and interacting inside your app. Or maybe they will need to start paying for the extra servicese.

alejomakevids
Автор

please make a video on vuex and vue router

МурадДжалалов-лц