tRPC loading state
Right now I am handling displaying a loading state like this
Is there a better way to handle a loading state?
Is there a better way to handle a loading state?
Solution
Apparently tRPC returns
isFetching which on first glance can be used as a loading state