Guys, if the video is helpful to you or you learned something than please appreciate and ADD COMMENT hit the LIKE and SUBSCRIBE button and help this channel to GROW😉
Great Man! I had searched for 20 or more videos on RUclips for learning RTK Query , I Assure you guys it is the best ..... He covers every Essentials topics and does not miss anything. You can start working after watching this.
Have a question: the api returns the query and mutate hooks that can be directly used in the UI, what is the purpose of having a store in this case? Since UI is updating immediately from the returned value of the fetching mechanism?
So lets say in your case you have contact and users, how can we segregate those api's as I read we should use creatApi once in the project. Not sure if I am correct or not but I have this doubt as I don't want to mix two separate entities all together
Thank you for the video!! I've been feeling overwhelmed by the documentations since they include everything at once and your video helped me a lot as a beginner
Thanks, but I don't understand how I can access the data without calling the hook, but using the usual getState method? I get some kind of crutches .... as an example)) const { allPackets, } = store.getState(); const allPacketsData = allPackets.queries?.['getAllPackets("allPackets")']?.data;
Thanks for the video bro, I have a question on how to use multiple parameters when posting data. here is my use case `${baseURL}/route/${id}`,{productId: productId},{headers: {authorization: `${token}`} how can set up in order to hit this endpoint
I'm angular developer seen ur crash course on reactjs. class components n functional components which is more used in real projects. W3school recommend functional component with hooks. Please suggest..
love your channel♥️ I have a question in rtk query Would you please help me, how to prevent rtk from calling invalidatesTags if error happens?! Why rtk calls getAll api when error happens in add? How to prevent that?😅
like modifying a particular content cause to refetch all the data again isn't that bad like if a particular data is modified we are refetching all the data again how to solve this issue ???
Ok, ithink this "creaApi" is very confusing !!... but where's the "createSlice" and the "initialState" ? ... and how you share data between components ? Cause everytime you to pull data from state, ...you gonna have to fetch the data from "api" again ?
what is the correct ways to build rtk query architecture in our project. Do we need slice and asyncThunk to implement for some specific casses and rkh api for some other cases bacuase I;m sessing it is creating a new reducer here and always sending data as a result of fetch do we have this data as state across all component like from the previous slice and asyncThunk approach my state is currentUser and AllUser how do we manage such type of store in rtk query
Hi Bro, i have a problem invalidating the cache when i use pagination with RTK query and infinite scroll. I have a notification data which can be individually marked as Read or all the messages can be marked as Read. I have a query end point which accepts pageNumber to render the data. When the user is in page 5, if he clicks on Mark all as read, I am unable to invalidate cache which belongs to other pages. Same problem with individual read as well. When the user is in page 2, if he scrolls back to page 1, invalidating the cache re-renders page2 instead of 1. I have tried optimistic updates of cache. But unable to find solution to invalidate the entire cache/ specific page cache. Please help.
Guys, if the video is helpful to you or you learned something than please appreciate and ADD COMMENT hit the LIKE and SUBSCRIBE button and help this channel to GROW😉
Great Man! I had searched for 20 or more videos on RUclips for learning RTK Query , I Assure you guys it is the best ..... He covers every Essentials topics and does not miss anything. You can start working after watching this.
You are most welcome
Best video I have seen so far on RTK Query. Much appreciated!
Glad you enjoyed it!
I am looking for RTK query video on RUclips and I watched so many videos but I got this video and fixed my problem..... take love
Thanks! Glad you liked the video.
This is one of the best RTK Query content.
Understandable rtk query concept video on the whole youtube.
The best Video for understanding the Redux Toolkit. Thank You very much Dipesh Malvia.
One of the best tutorial on RTK Query the way of explanation was so simple and very good
Glad you liked it
great video, simple and on subject. Thanks a lot
Thanks and welcome
Amazing bro, thank you so much, now - react ts + rtk - is the most important technologies, thanks for this mini tutorial))
Best available content on TS+RTK-query on the internet! I’m currently studying for interviews, if I get hired it’ll be thanks to you bro, thank you
Bro if you ever see this, what is the use of the number 2 on the second component for fetching one contact by id?
In this part : (data, undefined, 2)
Thanks you sir❤
when you live which company in you work now days and make video on mern projects and your teaching is very good.
thank you for making video.
Really helpful Depesh. You saved my lot of time
you are the best, keeeep up the great work👌👌👌👌
Awesome videos - great information - great explanations 😃😃😃
Glad you liked it!
thank you so much oyu fixed my project
Glad I could help!
thanks!
so...|
no adapters?
The best way refetch is to do like optimistic or pessimistic way draft data! Make video on it
Great video dude..
Glad you liked it
Thanks for this amazing content man ! loved it 😍
Have a question: the api returns the query and mutate hooks that can be directly used in the UI, what is the purpose of having a store in this case? Since UI is updating immediately from the returned value of the fetching mechanism?
As he said, the store binds with the apis you created and then supply via Provider to the Whole App. Without Store, Redux doesnt work basically.
Thank you that was very helpful
really good tutorial! Just subscribed your channel.
So lets say in your case you have contact and users, how can we segregate those api's as I read we should use creatApi once in the project. Not sure if I am correct or not but I have this doubt as I don't want to mix two separate entities all together
Thank you for the video!! I've been feeling overwhelmed by the documentations since they include everything at once and your video helped me a lot as a beginner
Amazing Content
Thanks!
Thanks, but I don't understand how I can access the data without calling the hook, but using the usual getState method? I get some kind of crutches .... as an example))
const {
allPackets,
} = store.getState();
const allPacketsData = allPackets.queries?.['getAllPackets("allPackets")']?.data;
This is Awesome!!!
Well Said, Thank You
hi dipesh!
can you explain how does onCacheEntryAdded() works with WebSockets?
Thanks for the video bro, I have a question on how to use multiple parameters when posting data. here is my use case `${baseURL}/route/${id}`,{productId: productId},{headers: {authorization: `${token}`} how can set up in order to hit this endpoint
I'm angular developer seen ur crash course on reactjs. class components n functional components which is more used in real projects. W3school recommend functional component with hooks. Please suggest..
Functional Components unless the codebase is old.
love your channel♥️
I have a question in rtk query
Would you please help me, how to prevent rtk from calling invalidatesTags if error happens?! Why rtk calls getAll api when error happens in add? How to prevent that?😅
Can you help me how to call RTK mutation in withFormik?
Awesome tutorial.....thank you
But I'd like to ask, can someone use rtkquery for data fetching React native too?
Haven't tried, so not sure
like modifying a particular content cause to refetch all the data again isn't that bad like if a particular data is modified we are refetching all the data again how to solve this issue ???
Awesome
Please Update GIthub repo which You covered In this video can't able to find Full source code
I have clarifications in java ? Can you help me out ?
Very useful tutorial
Thanks a lot
Ok, ithink this "creaApi" is very confusing !!... but where's the "createSlice" and the "initialState" ? ... and how you share data between components ? Cause everytime you to pull data from state, ...you gonna have to fetch the data from "api" again ?
Can you please suggest extension for RTK query in visual studio
how can we achieve infinite scroll using rtk query
Thank you!
Waiting for this bro
what is the correct ways to build rtk query architecture in our project. Do we need slice and asyncThunk to implement for some specific casses and rkh api for some other cases bacuase I;m sessing it is creating a new reducer here and always sending data as a result of fetch do we have this data as state across all component like from the previous slice and asyncThunk approach my state is currentUser and AllUser how do we manage such type of store in rtk query
same question. did you find any proper solution?
@@nahidfaraji5069 not yet
@@nahidfaraji5069 apparently rtk query only fetches the data when the data is empty or we have mention its dependency in others reducers
I have a specific javascript requirement can i send it to you in email ?
Hi Bro, i have a problem invalidating the cache when i use pagination with RTK query and infinite scroll.
I have a notification data which can be individually marked as Read or all the messages can be marked as Read. I have a query end point which accepts pageNumber to render the data. When the user is in page 5, if he clicks on Mark all as read, I am unable to invalidate cache which belongs to other pages. Same problem with individual read as well. When the user is in page 2, if he scrolls back to page 1, invalidating the cache re-renders page2 instead of 1. I have tried optimistic updates of cache. But unable to find solution to invalidate the entire cache/ specific page cache. Please help.
Hi Dipesh how's poland life 😁
Hi This is vanitha from chennai ..Can you take a class for react for me ? Plz ..I am new to react
Redux creators did same mistake of writing complex code for RTK query, just how they did for redux before redux toolkit.
it is really complex to understand compared to react query. That explains the fewer tutorial videos on rtk query
😊🥰
Don't Shake your hands that much Times it diverts the user attention
Brown Jessica Martin Lisa Perez Sarah
Those that don’t know typescript , you should understand typescript first then continue here
Total time waste ..
This is one of the best RTK Query content.
Thanks!