tRPCttRPC
Powered by
Mighty EightM
tRPC•9mo ago•
1 reply
Mighty Eight

Getting global query loading state on client (react)

Is it possible to get the loading state globally for custom functions?

For instance, I want to implement navigationprogress (a moving line at the top) when any query loads and finish when it ends.

Not sure if it's possible.
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

React Query client errors on 401
QuintenQQuinten / ❓-help
3y ago
Optimizing Global State Updates for Mutations Across Multiple Query Keys in tRPC with React Query
shanksxzSshanksxz / ❓-help
14mo ago
Using both tRPC React client AND tRPC React Query client
anton.johanssonAanton.johansson / ❓-help
3y ago