The second query just gets information you already have from the first, I get that might not always be the case but can you use the cache in a way that its smart enough to recognise when it already has information?
Same Question. What I did, I used getQueryData from the initial query key. Passing it to a new variable, then find it by id. Although, I think there's much better way to do this. If you have another work around, it will be helpful.
Might sound a bit weird, but your indian accent is the most understandable I've ever heard, good on you.
Men, I think it's AI generated 🤣
Honsetly, react-router was the most challenging part. Great explanation of react Query, really helps a lot!!!
won't lie, those dynamic pages and useParams is something to get used to!
Your channel is a treasure...
Perfect and simple explanation. Thanks a lot! Already going to the next course haha
Wonderfully explained, really good job!☺
Clear !!!
To the point tutorial
Thanks alot man
Vishwas, do you plan to launch a course on testing?
works perfectly, thank you
And type the name Vishwas … my fav part of your videos.. the way you call the vishwas 😄
Amazing work!!
We can use uselocation hook right? What makes difference between this and using uselocation hook
Fantastic!
very helpfull video.
Great!
VERY NICE!
I was thinking, since we have a custom hook for all superheroes why don't we just use it in the single superhero component and filter by the ID param
cant we create all the custom hooks in same paget i yes can you please tell how to write code like that
Pretty helpfull
is there any change to enroll your course payment method Bkash or Roket in Bangladesh
I dont understand why when I am using React Query in Observers I get 26 or 29 in it. You can say why?
heroId is coming undefined in url and even if i return get method with heroId i am getting request error.
it is showing ["super-hero",null]
huyu muhindi ako ndaaani ndaaani kabisa
The second query just gets information you already have from the first, I get that might not always be the case but can you use the cache in a way that its smart enough to recognise when it already has information?
Same Question. What I did, I used getQueryData from the initial query key. Passing it to a new variable, then find it by id. Although, I think there's much better way to do this. If you have another work around, it will be helpful.
Yeah of course he could do it the way you said but for learning purposes he chose to do it in that manner.
Hi
Can someone help me with React Query and Next Js dynamic data rendering?