Can you tell me when to choose redux and when to choose tanstack query.? And why prefer tanstack query over redux or RTK query? for large project which one to choose?
react query ( aka tanstack query ) or RTK query or swr both are same, they are used for fetching data, caching data basically its client side data fetching lib with some cool features like caching optimistic UI updates and many more. u can say its used for server side state management ( fetching data from server, states like data, loading, error, updates etc ) now redux toolkit ( toolkit and tk query are not same, zustand ) context API ( native react feature) are used for client side state management purpose. manage a global state from where we can use saved data( fetching data from server using react query or rtk query or native useeffect approach and saved for one instance meaning after refresh data will be lost so have to fetch again) across the applications, like nested components, hope it clears your doubt
For large applications, u will have to tackle 2 things 1. data fetching - u can use native approach like useeffect fetch etc or use react query or swr or rtk query, these lib will provide lots of features. 2. state menegement - which is necessary, u can need to use any state mng libs like redux toolkit / zustand or use native context api
Why will you ever cache api data.. we need updated list in a table to show always right that's why we use cache control as no cache. I didn't understand this.
How? Tanstack is great for data fetching, caching and server side management, it sure can replace useEffect but don't think that it can replace redux/mobix/zustand
redux is used for diff perpose and react query is used for diff purpose. like do you use context for data fetching ? or do you use fetch for state management ?
Hope you love the video & Learn something new ❤🔥
@@ThapaTechnical yes
yes sir
Yes Sir and Thanku Sir for TanStack
Sir after TanStack, plss start Redux Toolkit and at least 1 Project bassed on RTK
Excited for this series. thank you for creating this amazing series.
In our life your are the best teacher
Sir ye Traffic management ke liye use kar sakte hai kya?
Power React Query my favorite library ❤
Yess sir,yhi pd rha tha mai abhi.Thanku
Most waited series, Thanks thapa
Thank you very much Sir for sharing such Important topic so easily 😮
Thank You sir for this beautiful series❤🔥
Sir believe nhi ho raha k Tank stack query ki series bhi agai
Brother we want a new ecommerce site project using React JS with a fake api in one video . Btw Thank you brother for this video. I love it ❤️
React series really awesome ❤
Keep it up bro 💪💪💪 i am waiting for next video 🎉🎉🎉🎉
Thankyou for this❤
Thanks for being soo amazing always in ur videos 💓💓
Most awaited video ❤
thank you bhaiya, and also please explain react table
Seems interesting sir
Love You Bro Waiting For World BEST NEXT JS Full Stack
Like For Full Stack Next JS
Thapa is Sigma for real.
Sir need Redux toolkit & Love from Pakistan❣
Need redux video
Sir, need vedios for nextjs or typescript.
Best series
sir RTK mai bhi toh createasyncThunk hai jisse hum api fetch kr sktte hai
if i know the RTK then mujhe yeh react query krna chaiye ??
if company uses react q in the proj then you have to learn it
thanku thapa bhaiya
sir salesforce me kya future hai?
great
ek bar shoutout de dijiye bohut bara fan hu apke
Thanks
Chen tpak dam dam❤❤
I have never heard about it before.
Can you tell me when to choose redux and when to choose tanstack query.?
And why prefer tanstack query over redux or RTK query?
for large project which one to choose?
react query ( aka tanstack query ) or RTK query or swr both are same, they are used for fetching data, caching data basically its client side data fetching lib with some cool features like caching optimistic UI updates and many more. u can say its used for server side state management ( fetching data from server, states like data, loading, error, updates etc )
now redux toolkit ( toolkit and tk query are not same, zustand ) context API ( native react feature) are used for client side state management purpose. manage a global state from where we can use saved data( fetching data from server using react query or rtk query or native useeffect approach and saved for one instance meaning after refresh data will be lost so have to fetch again) across the applications, like nested components,
hope it clears your doubt
For large applications, u will have to tackle 2 things 1. data fetching - u can use native approach like useeffect fetch etc or use react query or swr or rtk query, these lib will provide lots of features.
2. state menegement - which is necessary, u can need to use any state mng libs like redux toolkit / zustand or use native context api
Need zustand state management tools video
Sir react redux ki videos kab aayengi
Sir, is this alternative of redux?
Not exactly, but yes, when it comes to handling the server side state, then for sure
@@ThapaTechnical yes sir 😍
Sir, is there any upcoming videos on Redux
Thank you sir
Sir node express ka course kab laoge bolo na
sir, please start new series on NextJS
React interview questions per video upload karo sir , please
can we use this same for react native😮
Hello bhaiya please node and express ka bhi course layiye please bhaiya 🙏🙏
Love from Pakistan
we can use tanstack in nextjs?
Love you sirr
Bahiya aap ne Redux ka lecture nahi dala
Suggetion:
Your videos not getting enough Views , because of VS studio theme and font size,
Change to dark , same like chai aur code
Thanks for the tip
next.js ssr kya hai fir
Why will you ever cache api data.. we need updated list in a table to show always right that's why we use cache control as no cache. I didn't understand this.
Next js strat
need redux tool kit video
🙏🙏❤❤
😊
I write coding using AI , I don't need to write manually .
Sir, please start Next js after this series..
Guys do like, subscribe and share this channel.
Redux ki video leo
Hamara next year se placement hone bala hai
❤❤❤
It can replace redux 😅
How? Tanstack is great for data fetching, caching and server side management, it sure can replace useEffect but don't think that it can replace redux/mobix/zustand
redux is used for diff perpose and react query is used for diff purpose. like do you use context for data fetching ? or do you use fetch for state management ?