TanStackT
TanStack2y ago
7 replies
full-green

query cache performance

is there any significant difference between using
const {data} = useSomething(params) or inifite query

and
useSomething(params)
const query = queryCache.find(params)

and
useSomething(params)
const data = queryClient.getQueryData(params)
or the second and third example is just bad practice ?
Was this page helpful?