Given the advertising that this could be used as state management, I don’t at all try to deduplicate queries between components. Hopefully its not a mistake.
Yeah this is fine.
useQuery calls should be considered “cheap”.
Right now it’s now yet deduplicating queries. But we’ve implemented this in the past once (for experimenting with react18) and it will likely be re-added soon.