TanStackT
TanStack15mo ago
6 replies
foolish-indigo

Re-render 1 component but not another via the same queryKey?

I read that you can use select to subscribe to a sub-set of data, i.e I am assuming that when another component invokes
invalidateQueries
for the same queryKey, it shouldn't re-render the other component if the select returns a sub-set of data that did not change?
Was this page helpful?