best practices for conditional fetching with React Query?
I'm using Zustand for global auth state, and I add it to my useUser hook like this
I am a bit curious though, if this really is the best practice? like is a common approach, or should I rather only use the useUser hook in component that should only be displayed when the user is authenticated? i.e
what would you guys recommend?