thanks Pedro. I've been looking for a good video guide, just getting started with React query. was so happy when i saw yours.
@zalaam_08 ай бұрын
I am not native english speaker but some how i can understand you clearly. Maybe your way of teaching is very good
@PedroTechnologies8 ай бұрын
Glad to hear that!!
@godofwar82628 ай бұрын
Hey bro add tanstack query to video title for better reach
@stephikebudu8 ай бұрын
Yeah not everyone knows its the same thing
@centrumsaiyan76235 ай бұрын
Seriously haha you need that title
@sreerup_dhrino4 ай бұрын
As of today working with react-query v5 I noticed two changes - 1. If you are importing & calling a function from another file in queryFn it has to be written in a arrow function like queryFn: () => getData() 2. Fetch request is getting called on browser tab change even without mentioning staleTime, and to stop it you need to explicitly mention refetchOnWindowFocus: false Please let me know if others are also facing the same.
@OnyeStephenАй бұрын
This was by far the best video about react query on KZbin. Subscribed for more of this. I love the pace!!!
@aseel10247 ай бұрын
this is the best library to be honest, doing it native will take long time!!
@matteonegridevАй бұрын
You helped me with Zustand, and now agan with react query. Thanks!
@singhramneek33588 ай бұрын
How is this even possible? Just Finished your React Query module from react js course and found it bit outdated and here you are.... Just Wow😮
@shirazjaf38448 ай бұрын
amazing brother ! have been searching for a proper tutorial and found yours
@anmolkharel44338 ай бұрын
i'm new to react and haven't used redux at all, i followed one of your react tutorials and have been using react query since, this video is much appreciated, thanks!
@codermeloman30308 ай бұрын
React Query + Next.js 14 + prefetch query + using prefetched query in server side nested components ... would be amazing video!
@tomasburian65506 ай бұрын
Great vid. Lots of companies now using this library, very useful.
@shuvoahmed52177 ай бұрын
clean and informative . make more good video like this on various topic . eg : (react testing)
@LyndonBaylinJrАй бұрын
`onSettled` is the same as the `finally` block in the `try.. catch...`. It will always trigger regardless if its success or failure
@melkhywong75948 ай бұрын
did you read my mind bro? i was searching for this
@giovanniferreira17068 ай бұрын
A continuation video using complex searches, passing parameters, and such would be great.
@andrewredican14135 ай бұрын
react-query is an amazing library, and great explanation!
@raviel_04226 ай бұрын
Thank you so much Pedro. I'm really liking your content about React because you explain very clear in your videos.
@quentinhall88388 ай бұрын
welcome back pedro , your videos are the best
@KaranChauhan-fu6dy8 ай бұрын
I just completed it... loved it
@ramanjaneyuluv4797 ай бұрын
we need more videos of this kind
@afamsval8 ай бұрын
We want to see more videos on this. 😍 Thank you
@DjSeymur5 ай бұрын
You should make your intro you spinning in a circle while the music plays "Pedro, Pedro, Pedro, Pedro Techhh" 😁
@jubert20965 ай бұрын
Thanks pedro. Your teaching is awesome. Can you make a video on tanstack react typescript. There are not that much videos on tanstack tables and I’m having lot of errors
@italofsan8 ай бұрын
Excelente vídeo meu brother. Deu um overview massa.
@lopesleticiam4 ай бұрын
Exactly what I was looking for! Thanks 🎆
@lamiaali45198 ай бұрын
wow just what I was looking for, thank u for this amazing video.
@abdelrahman50942 ай бұрын
best explanation ever
@palcherin8 ай бұрын
This is great, hey bro.. can you please make a video regarding react-google-maps? I think if you do the video it could help a lot of people wasting time on alot of tutorials that doesn't teach much.
@vinaykumarkharwar1777 ай бұрын
This was concise and informative. Thanks!
@SuperMBARutgers20132 ай бұрын
Staletime is a win for me.
@neilvenmascarinas43653 ай бұрын
thanks brother it help me a lot to understand react query♥
@jessicajoseph1633Ай бұрын
Amazing content thank you Pedro
@АнтонКовалёв-э7к6 ай бұрын
It would be great to see your next video about react-query
@bruningoat6 ай бұрын
it would be cool if you could bring more videos about this topic maybe a project using pagination and infinite scroll as you mentioned
@JOSEPHEZHAP8 ай бұрын
Please make a video about pagination and advanced react query
@k303k8 ай бұрын
We miss u pedro❤
@BugArray8 ай бұрын
Awesome content, I might also cover this topic in one of my videos.
@matheuspiegas4 ай бұрын
Que vídeo excelente cara! Parabéns!
@metalfort12078 ай бұрын
Thanks I can now flex to my bosses some React Query stuff
@AbdAtaya4 ай бұрын
Great bro, Wallah you are a Master
@onsiteImagitech2 ай бұрын
A very usefull video I learned a lot thanks.
@rajeevbhosle15803 ай бұрын
thanks for the video , can you please share the link of repo....
@ValeriiLutiy8 ай бұрын
ty Pedro, hello from Ukraine 👋
@cholakovit7 ай бұрын
Hi excellent video :) Would you make a video how exactly react query can manage globally state ?
@Developer_BR2 ай бұрын
I think you is brazilian, right!? I started my channel trying record 100% in english, but the videos got very awkward. I always remember you when I want post a new video.
@abdulazeezonadipe62368 ай бұрын
Thanks so much, this was superful. I hope you could work on the pagination also, also is this proper { queryKey: ['word', 'status', 'done'] }
@jatiquep55438 ай бұрын
I have been waiting for this
@izunduchukwuemika79157 ай бұрын
thanks pedro🤜
@izunduchukwuemika79157 ай бұрын
I really understood it
@haniehafzali96612 ай бұрын
thank you that was so great 🌺🌺
@Goku-zu3rk4 ай бұрын
Maybe more on dependencies and query Keys?
@mjylove24 ай бұрын
what theme do you use? i looks awesome
@King_slayer-hd7df8 ай бұрын
Thanks for the refresher 👍
@bagheldevansh8 ай бұрын
thank you so much for this!
@2ameridiem8 ай бұрын
I have been following your Reactjs course 2023 and there in the react-query tutorial, you mentioned that the queryFn should return the data fetched by the Fetch API, which then will be stored in the variable. Why are we returning a promise in this case?..considering that the json() method returns a promise.
@regilearn21388 ай бұрын
it would be great if you can use typescript with this
@mohammadshezan8 ай бұрын
Awesome, Next time do it with Infinite Scrolling
@sonamohialdin33768 ай бұрын
Very helpful tutorial thank you
@mehedihassan69048 ай бұрын
make a detailed advance video on react-query please with real backend data
@adi-ai-0075 ай бұрын
Nicely explained
@arunkumar.d796829 күн бұрын
thank you!
@bobkazamakis51697 ай бұрын
Should I stick to RTK Query when using Redux?
@tiny_mystery8 ай бұрын
thanks for the tutorial brother,
@dyarydy69397 ай бұрын
Thank you Perdo
@bobsecondbrain93307 ай бұрын
Fantastic tutorial!
@favanzzo8 ай бұрын
pedrao, sua opinião sobre a fala do CEO da nvidia?
@waleedsharif6188 ай бұрын
One question, when we are using for example Axios and want to test it using react testing library we can mock it. How can we test this react-query ?
@rumonintokyo6 ай бұрын
Did u try it using with next js 14? When I try to use it with next js 14 and create a custom hook that fetches data from the server using tanstack .... the data seem to load properly but the html content does not appear on the page source... note am using the custom hook in a client component...
@zainn73368 ай бұрын
please make video on infinite and pagination in react query plzzz
@thebocksters27567 ай бұрын
16:16 and what is the difference between isLoading and isPending
@tariqahmed25268 ай бұрын
Plzz make a latest firebase tutorial or app write it will be helpful
@ilmanmanarulqori56328 ай бұрын
make another one React Query 🎉
@niklausmikaelson73323 ай бұрын
How can we replace redux,zutand with react query
@gregorysk_lviv5 ай бұрын
I wonder, what is the name of the extension which shows size of npm lib
@dedanmsafari82135 ай бұрын
its called import cost
@mihaichildesco82768 ай бұрын
i dont understand why your code was working and my code not. When you use useQuery for fetching data with id and title i was getting data undefined, after i added isLoading and isError it worked. "In the initial render without isLoading and isError checks, your component tries to map over data, which is undefined, hence causing an error. React doesn't render components with errors, so your component won't be displayed." This was an explication from chatGpt and still dont get it why handling isLoading and isError made the code to work and fetch the data
@coderintrovert8 ай бұрын
you can set initial data as empty array, like this const { data = [] } = useQuery….. If you dont want to set initial data then when you are mapping over it have some check like data?.map or data && data.map
@chippandenga67225 ай бұрын
I am also getting data undefined error but my code is an exact copy of his???? Thanks for this comment. I was thinking I am losing my mind😂
@nullwizard63358 ай бұрын
Thanks for this. I was wondering what is the benefit of using this library over redux? Because I can do pretty much same using redux and more.
@emmanuelxs61438 ай бұрын
Pedro 😊
@gamingwolf33858 ай бұрын
Pedro , why you don't try svelte/kit
@akshitathakur5722Ай бұрын
Can anyone please help is this react-query V5 ??
@IvanGechv8 ай бұрын
Why using CRA and not VITE ? CRA is so slow!
@hooooman.8 ай бұрын
one request, not about the teaching ,but about the video. Most of the time , in addition to the youtube, viewers, mostly beginners ,also needs to open multiple apps, such as vs code or any code editor, ,browser with multiple tabs, other softwares such as postman etc, so students like me, who has a midrange pc, it would be a slightly heavy load for the device. so in addition to this, if the youtube video itself is also 60fps, it will just double the ram consumption and load to the CPU. Unlike a gaming video which requires 60fps, 1080px @ 30 fps is more than enough for coding videos. so please consider this request in the future videos.
@joeblack88436 ай бұрын
i found out that it doest work with axios
@anburaghu62947 ай бұрын
can we get the source code bro??
@drippedfilms8 ай бұрын
No. 3 - 😂
@KisanKumavat-m5e4 ай бұрын
+++
@dizzland3 ай бұрын
Amazing tutorial
@sandunlasantha8 ай бұрын
@Pareshbpatel6 ай бұрын
{2024-04-29}
@jetskeeter697 ай бұрын
Is there one that uses with nodejs to my database using MySQL?