useQueries isPending is always true
When using
useQueries, I see that even if I set placeholderData isPending is always true when refetching with different params.
What I'm trying to have is a Skeleton on first load, then a "loading indicator" when the user triggers another request because of a filter or something.
If isPending and isLoading are always true, how can I check that the request is not happening for the first time with useQueries?
I see a mention of placeholderData in the docs of useQueries explaining that it doesn't pass previous information but I'm not sure if this is the reason
Here is how I use it:
0 Replies