Skip to content
Discussion options

You must be logged in to vote

hence the whole page gets rerendered on every small change.

you probably want to use the select option to only subscribe your components to some parts of the Query:

https://tanstack.com/query/latest/docs/framework/react/guides/render-optimizations#select

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@boosja
Comment options

Answer selected by boosja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants