getQueryState result isn’t reactive
I'm calling queryClient.getQueryState(['current-user'])?.status === 'error' in a Match statement but despite the query erroring, the conditional never renders
In order to account for this I hacked it into an effect
But this seems bad. Is there a better way?
0 Replies