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