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 ?
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 ?