TanStackT
TanStack3y ago
2 replies
worthy-azure

need some clarification please

Hi, im trying to understand useQueries from documentation, they telling:

"If the number of queries you need to execute is changing from render to render, you cannot use manual querying since that would violate the rules of hooks. " (https://tanstack.com/query/v4/docs/react/guides/parallel-queries#dynamic-parallel-queries-with-usequeries)

Which rules they talking about ?
"Parallel" queries are queries that are executed in parallel, or at the same time so as to maximize fetching concurrency.

Manual Parallel Queries
Was this page helpful?