Тёмный

React Query in 40 Minutes - Everything You Need to Know About Tanstack React Query 

PedroTech
Подписаться 214 тыс.
Просмотров 57 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 102   
@orashusedmund7675
@orashusedmund7675 7 месяцев назад
thanks Pedro. I've been looking for a good video guide, just getting started with React query. was so happy when i saw yours.
@melkhywong7594
@melkhywong7594 7 месяцев назад
did you read my mind bro? i was searching for this
@LyndonBaylinJr
@LyndonBaylinJr 11 дней назад
`onSettled` is the same as the `finally` block in the `try.. catch...`. It will always trigger regardless if its success or failure
@DjSeymur
@DjSeymur 4 месяца назад
You should make your intro you spinning in a circle while the music plays "Pedro, Pedro, Pedro, Pedro Techhh" 😁
@godofwar8262
@godofwar8262 7 месяцев назад
Hey bro add tanstack query to video title for better reach
@stephikebudu
@stephikebudu 7 месяцев назад
Yeah not everyone knows its the same thing
@centrumsaiyan7623
@centrumsaiyan7623 4 месяца назад
Seriously haha you need that title
@singhramneek3358
@singhramneek3358 7 месяцев назад
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😮
@aseel1024
@aseel1024 6 месяцев назад
this is the best library to be honest, doing it native will take long time!!
@codermeloman3030
@codermeloman3030 6 месяцев назад
React Query + Next.js 14 + prefetch query + using prefetched query in server side nested components ... would be amazing video!
@andrewredican1413
@andrewredican1413 3 месяца назад
react-query is an amazing library, and great explanation!
@anmolkharel4433
@anmolkharel4433 7 месяцев назад
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!
@abdelrahman5094
@abdelrahman5094 21 день назад
best explanation ever
@ramanjaneyuluv479
@ramanjaneyuluv479 6 месяцев назад
we need more videos of this kind
@giovanniferreira1706
@giovanniferreira1706 7 месяцев назад
A continuation video using complex searches, passing parameters, and such would be great.
@tomasburian6550
@tomasburian6550 5 месяцев назад
Great vid. Lots of companies now using this library, very useful.
@onsiteImagitech
@onsiteImagitech Месяц назад
A very usefull video I learned a lot thanks.
@lopesleticiam
@lopesleticiam 3 месяца назад
Exactly what I was looking for! Thanks 🎆
@lamiaali4519
@lamiaali4519 7 месяцев назад
wow just what I was looking for, thank u for this amazing video.
@italofsan
@italofsan 7 месяцев назад
Excelente vídeo meu brother. Deu um overview massa.
@neilvenmascarinas4365
@neilvenmascarinas4365 2 месяца назад
thanks brother it help me a lot to understand react query♥
@quentinhall8838
@quentinhall8838 6 месяцев назад
welcome back pedro , your videos are the best
@SuperMBARutgers2013
@SuperMBARutgers2013 Месяц назад
Staletime is a win for me.
@k303k
@k303k 7 месяцев назад
We miss u pedro❤
@jubert2096
@jubert2096 4 месяца назад
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
@palcherin
@palcherin 6 месяцев назад
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.
@KaranChauhan-fu6dy
@KaranChauhan-fu6dy 6 месяцев назад
I just completed it... loved it
@bruningoat
@bruningoat 5 месяцев назад
it would be cool if you could bring more videos about this topic maybe a project using pagination and infinite scroll as you mentioned
@metalfort1207
@metalfort1207 7 месяцев назад
Thanks I can now flex to my bosses some React Query stuff
@Goku-zu3rk
@Goku-zu3rk 3 месяца назад
Maybe more on dependencies and query Keys?
@ValeriiLutiy
@ValeriiLutiy 7 месяцев назад
ty Pedro, hello from Ukraine 👋
@bobsecondbrain9330
@bobsecondbrain9330 5 месяцев назад
Fantastic tutorial!
@King_slayer-hd7df
@King_slayer-hd7df 6 месяцев назад
Thanks for the refresher 👍
@thebocksters2756
@thebocksters2756 5 месяцев назад
16:16 and what is the difference between isLoading and isPending
@izunduchukwuemika7915
@izunduchukwuemika7915 6 месяцев назад
thanks pedro🤜
@izunduchukwuemika7915
@izunduchukwuemika7915 6 месяцев назад
I really understood it
@abdulazeezonadipe6236
@abdulazeezonadipe6236 6 месяцев назад
Thanks so much, this was superful. I hope you could work on the pagination also, also is this proper { queryKey: ['word', 'status', 'done'] }
@sonamohialdin3376
@sonamohialdin3376 7 месяцев назад
Very helpful tutorial thank you
@mehedihassan6904
@mehedihassan6904 6 месяцев назад
make a detailed advance video on react-query please with real backend data
@mohammadshezan
@mohammadshezan 7 месяцев назад
Awesome, Next time do it with Infinite Scrolling
@mihaichildesco8276
@mihaichildesco8276 6 месяцев назад
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
@coderintrovert
@coderintrovert 6 месяцев назад
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
@chippandenga6722
@chippandenga6722 4 месяца назад
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😂
@mjylove2
@mjylove2 2 месяца назад
what theme do you use? i looks awesome
@adi-ai-007
@adi-ai-007 4 месяца назад
Nicely explained
@tariqahmed2526
@tariqahmed2526 6 месяцев назад
Plzz make a latest firebase tutorial or app write it will be helpful
@tiny_mystery
@tiny_mystery 6 месяцев назад
thanks for the tutorial brother,
@niklausmikaelson7332
@niklausmikaelson7332 Месяц назад
How can we replace redux,zutand with react query
@regilearn2138
@regilearn2138 7 месяцев назад
it would be great if you can use typescript with this
@dyarydy6939
@dyarydy6939 5 месяцев назад
Thank you Perdo
@2ameridiem
@2ameridiem 6 месяцев назад
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.
@bobkazamakis5169
@bobkazamakis5169 6 месяцев назад
Should I stick to RTK Query when using Redux?
@zainn7336
@zainn7336 7 месяцев назад
please make video on infinite and pagination in react query plzzz
@akshitathakur5722
@akshitathakur5722 10 дней назад
Can anyone please help is this react-query V5 ??
@nullwizard6335
@nullwizard6335 7 месяцев назад
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.
@waleedsharif618
@waleedsharif618 7 месяцев назад
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 ?
@dizzland
@dizzland 2 месяца назад
Amazing tutorial
@gregorysk_lviv
@gregorysk_lviv 4 месяца назад
I wonder, what is the name of the extension which shows size of npm lib
@dedanmsafari8213
@dedanmsafari8213 4 месяца назад
its called import cost
@rumonintokyo
@rumonintokyo 5 месяцев назад
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...
@ilmanmanarulqori5632
@ilmanmanarulqori5632 6 месяцев назад
make another one React Query 🎉
@gamingwolf3385
@gamingwolf3385 7 месяцев назад
Pedro , why you don't try svelte/kit
@favanzzo
@favanzzo 7 месяцев назад
pedrao, sua opinião sobre a fala do CEO da nvidia?
@joeblack8843
@joeblack8843 4 месяца назад
i found out that it doest work with axios
@IvanGechv
@IvanGechv 7 месяцев назад
Why using CRA and not VITE ? CRA is so slow!
@emmanuelxs6143
@emmanuelxs6143 7 месяцев назад
Pedro 😊
@hooooman.
@hooooman. 7 месяцев назад
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.
@KisanKumavat-m5e
@KisanKumavat-m5e 2 месяца назад
+++
@jetskeeter69
@jetskeeter69 6 месяцев назад
Is there one that uses with nodejs to my database using MySQL?
@Pareshbpatel
@Pareshbpatel 5 месяцев назад
{2024-04-29}
@sreerup_dhrino
@sreerup_dhrino 3 месяца назад
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.
@shirazjaf3844
@shirazjaf3844 7 месяцев назад
amazing brother ! have been searching for a proper tutorial and found yours
@Developer_BR
@Developer_BR 21 день назад
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.
@shuvoahmed5217
@shuvoahmed5217 6 месяцев назад
clean and informative . make more good video like this on various topic . eg : (react testing)
@zalaam_0
@zalaam_0 7 месяцев назад
I am not native english speaker but some how i can understand you clearly. Maybe your way of teaching is very good
@PedroTechnologies
@PedroTechnologies 7 месяцев назад
Glad to hear that!!
@JOSEPHEZHAP
@JOSEPHEZHAP 7 месяцев назад
Please make a video about pagination and advanced react query
@jessicajoseph1633
@jessicajoseph1633 4 дня назад
Amazing content thank you Pedro
@rajeevbhosle1580
@rajeevbhosle1580 Месяц назад
thanks for the video , can you please share the link of repo....
@haniehafzali9661
@haniehafzali9661 Месяц назад
thank you that was so great 🌺🌺
@OnyeStephen
@OnyeStephen 11 дней назад
This was by far the best video about react query on RU-vid. Subscribed for more of this. I love the pace!!!
@AbdAtaya
@AbdAtaya 2 месяца назад
Great bro, Wallah you are a Master
@afamsval
@afamsval 7 месяцев назад
We want to see more videos on this. 😍 Thank you
@anburaghu6294
@anburaghu6294 6 месяцев назад
can we get the source code bro??
@cholakovit
@cholakovit 6 месяцев назад
Hi excellent video :) Would you make a video how exactly react query can manage globally state ?
@BugArray
@BugArray 6 месяцев назад
Awesome content, I might also cover this topic in one of my videos.
@bagheldevansh
@bagheldevansh 7 месяцев назад
thank you so much for this!
@raviel_0422
@raviel_0422 5 месяцев назад
Thank you so much Pedro. I'm really liking your content about React because you explain very clear in your videos.
@matheuspiegas
@matheuspiegas 3 месяца назад
Que vídeo excelente cara! Parabéns!
@АнтонКовалёв-э7к
@АнтонКовалёв-э7к 5 месяцев назад
It would be great to see your next video about react-query
@vinaykumarkharwar177
@vinaykumarkharwar177 6 месяцев назад
This was concise and informative. Thanks!
@jatiquep5543
@jatiquep5543 7 месяцев назад
I have been waiting for this
@drippedfilms
@drippedfilms 7 месяцев назад
No. 3 - 😂
@sandunlasantha
@sandunlasantha 7 месяцев назад
Далее
6 React Concepts That Will be Obsolete in 2024
12:07
React Crash Course 2024
3:04:36
Просмотров 511 тыс.
А вы играли в school boy runaway?
00:30
Просмотров 183 тыс.
Watermelon magic box! #shorts by Leisi Crazy
00:20
React Query - Complete Tutorial
18:57
Просмотров 127 тыс.
How React Query Won
34:52
Просмотров 78 тыс.
Why I don't use React-Query and tRPC in Next.js
18:58
Learn React Query In 50 Minutes
51:09
Просмотров 296 тыс.
The Story of React Query
8:55
Просмотров 106 тыс.
5 JavaScript Concepts You HAVE TO KNOW
9:38
Просмотров 1,4 млн
Fetching Data Doesn't Get Better Than This
6:58
Просмотров 119 тыс.
А вы играли в school boy runaway?
00:30
Просмотров 183 тыс.