how can I get the status if the request are being made from nextjs to appwrite, something like request interceptor
Do you mean from server side? Why?
To check if requests being made, i do spinner component
Uhh...typically, what you do is have a Boolean to show or hide the spinner. Before making the API call, set the Boolean to true. After the API call, set the Boolean to false π§
πππ right going to have boolean to check loading status. But intercepted requests. I only check once , then showing spinner . No need to do for all components
But wouldn't you show the loading spinner specifically at a certain spot related to the data being fetched? π§
Right but once globally
Hmm ...well the SDK doesn't have any interceptor....but maybe you can make one by subclassing the client
will try to check it out.
Recommended threads
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...