Skip to content

Consider creating custom instance for axios #4

@10000W

Description

@10000W

For incapsulating purposes it is useful to create an axios instance (or custom http provider) that only SDK uses with it's own config, interceptors, etc.
Sometimes developers use global axios instance and modify it, without expecting changes inside SDK:

Image

This example shows that global interceptor messes with SDK requests, but it should not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions