Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export instance of axios that used in requests #197

Open
Mory1879 opened this issue Oct 27, 2020 · 0 comments
Open

Export instance of axios that used in requests #197

Mory1879 opened this issue Oct 27, 2020 · 0 comments

Comments

@Mory1879
Copy link
Contributor

Mory1879 commented Oct 27, 2020

Without exported instance, it's impossible to add customization to requests and responses (for example interceptors for logging/authorization). Also placing settings for the network layer in redux seems a bit unnecessary and exporting axios instance for configuration will solve this. I am willing to make a PR for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant