Loading state when quering profile data
Hi people! Started with T3 stack and working on the profile page right now. I am trying to get the current logged in profile data and I am using a protected route/api for that. However, how can I make sure the 404 page is not shown when the data is not fully loaded yet?
3 Replies
there should be a isLoading primitive on the query
Status Checks in React Query
How the wrong status check order can negatively impact user experience
Thanks! Look into that 🙂