Passionate about building great technology and connecting with people to create positive change. Happy to answer questions about transitioning to tech. Find me on Twitter @lounecl
You're right! You can also use request interceptors to add custom headers like an authorization token in every single request, removing the need to write repetitive code
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I've been reading about Axios interceptors and it seems like a cool way to address not only HTTP errors but async problems that can pop up
You're right! You can also use request interceptors to add custom headers like an authorization token in every single request, removing the need to write repetitive code