Redux Toolkit Query (RTK Query) - Conditional Fetching | Prevent Automatic Fetching in RTK Query
Vložit
- čas přidán 14. 11. 2022
- Learn How To Conditionally Fetch Data Using Redux Toolkit Query (RTK Query).
Read the Article: dev.to/kunalukey/conditional-...
⭐⭐⭐ Video Sponsored by: Famoid ⭐⭐⭐
• Get Instagram Followers: famoid.com/buy-instagram-foll...
• Get TikTok Followers: famoid.com/buy-tiktok-followers
• Get Facebook Page Likes: famoid.com/buy-facebook-fanpa...
• Get CZcams Subscribers: famoid.com/buy-real-youtube-s...
____________________________________________
▶️ Follow Us On:
• Facebook: techlenses
• CZcams: / techlenses
• Instagram: / techlenses
• Twitter: / tech_lenses
• For Business Enquiry: kunalukey32@gmail.com
• Donate at PayPal ❤: techlenses@gmail.com - Věda a technologie
⭐⭐⭐ Video Sponsored by: Famoid ⭐⭐⭐
• Get Instagram Followers: famoid.com/buy-instagram-followers
• Get TikTok Followers: famoid.com/buy-tiktok-followers
• Get Facebook Page Likes: famoid.com/buy-facebook-fanpage-likes
• Get CZcams Subscribers: famoid.com/buy-real-youtube-subscribers
Just wanted to say thanks! skip option nailed it! 🚀
thankyou so much bro.. really helps ❤❤
Please tell me, if you are using useQuery, you get the isLoading variable and you can check if its actually loading, do a spinner
if you are using useLazyQuery, you dont get "loading" variable back form the function and i NEED IT how am i supposed to do it?
Thanks
Hello, Kunal, In my case after making an api call, i have to update a state of an object with booleans, when i am trying to use effect in this I am getting React warning Maximum update depth exceeded.
useEffect(() => {
if (data && data.length > 0) {
setReassignModalState({
...modalState,
showModal: true,
showAnotherModal: false,
});
} else if (data && data.length == 0) {
setReassignModalState({
...modalState,
showModal: true,
showAnotherModal: false,
});
}
})
Great video, thanks :)
bhut zabardast bhai , keep it up
nice video
paper header set token ??how
What is da language u speak? I cannot watch, why video name at English if u speak Hindi ?
shut up and take information