Prevent react query from creating empty keys even happening when enabled is not satisfied
Hi,
I've find some weird case with useQuery, where create two keys while fetching, where the first is the one with the data is empty or undefined.
So in simple terms I have two keys like
query is:
Really this is not a issue at all, just I don't like empty keys with null result.
Is this by nature functionality, or my generic fetcher on top of useQuery mess up the keys?
Here is one example:
0 Replies