DEV Community

loading...

Discussion on: Do you use Axios or Fetch?

antonioavelar profile image
António Avelar

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