T
TanStack15mo ago
rare-sapphire

Is there a way to manually trigger tanstack pending component for a page

I have a page that uses useQuery when the query is pending I want to show the page pendingComponent and when it errors I wanna show the error component I could have just used useSuspenseQuery then but it is bugging out when using it with React aria Select component the whole page just crashes when I change too fast and some other issues but I confirmed it worked well when I used useQuery
2 Replies
deep-jade
deep-jade15mo ago
can you please share a complete minimal example when using useSuspenseQuery?
rare-sapphire
rare-sapphireOP15mo ago
Okay I would do that

Did you find this page helpful?