Partial matching with setQueryData
I'm using the following query key in my project like this:
When I try to update the query cache using setQueryData, like this:
It doesn't work as expected. Can we update cached data using a partial query key, or does setQueryData require an exact match? If so, how can I fix this issue?
When I try to update the query cache using setQueryData, like this:
It doesn't work as expected. Can we update cached data using a partial query key, or does setQueryData require an exact match? If so, how can I fix this issue?