Skip to content

Axios instance not working after update to 0.21.4 from 0.21.1 #4027

@Alta1re

Description

@Alta1re

Describe the bug

I updated from 0.21.1 to 0.21.4 in my react-native application, where i am using an axios-instance.
After the update, i got "Network Error".
When i omitted the instance, and used axios directly, it worked, but not with instance.
After downgrading back to 0.21.1 everything works fine again.

To Reproduce

Just used a simple instance, like shown in the docs.

Expected behavior

Axios should work with instance, or, if the usage of instance changed, we an update in the docs.

Environment

Axios Version 0.21.1 / 0.21.4
Additional Library Versions [e.g. React 16.13.1, React Native SDK42]

Additional context/Screenshots

Add any other context about the problem here. If applicable, add screenshots to help explain.

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