Bug? useSuspenseQuery -> isFetching doesn't change
Hi everyone! I'm trying to do users data table in nextjs via tRPC useSuspenseQuery.
When I change input in
useSuspenseQuery
then new data fetch but test2.isFetching
doesn't update at all.
When I do test
function that invalidate query then test2.isFetching
is updating to true while data is fetching.
How can I get query isFetching when input change? This is a bug?
My code:
0 Replies