You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
Using useQuery hook to fetch a wiki page from my api. The call appears in network requests, and has propper datas as result.
However, the data I get from the hook is either undefined either the last page successfully written in cache by other queries.
So I get this strange bug where I try to daw the page based on slug, but get either a blank result or another page of my list - and this even with propper network queries.
My bad, the library was throwing an error because id wasn't present on the request, and as such the cache insertion would break. Isn't it strange though that it would nevertheless return the last id-able element instead of an undefined response ?
Using
useQuery
hook to fetch a wiki page from my api. The call appears in network requests, and has propper datas as result.However, the
data
I get from the hook is either undefined either the last page successfully written in cache by other queries.So I get this strange bug where I try to daw the page based on slug, but get either a blank result or another page of my list - and this even with propper network queries.
Maybe related to : #3262 and #3404
got this on 3.0.0 and 3.0.1-beta
The text was updated successfully, but these errors were encountered: