Hey, @TkDodo what is the best way to access query data from a component that cannot be responsible for firing up the query? Should I just use useQueryClient.getQueryData? Obs: another component will actually call the useQuery hook.
1
0
2
0
0
@_cbdeveloper I would question why the component shouldn't fire up its own useQuery? It makes the component more self contained. If you move it to a different part of the tree, it will still work. useQuery with enabled:false would be my way to go if I really needed that for some reason