Skip to content

Make compatible with React 16 #59

@AlexChalk

Description

@AlexChalk

When I try to use the package with React 16, npm gives me this warning:

npm WARN [email protected] requires a peer of react@^0.14.8 || ^15.0.1 but none is installed. You must install peer dependencies yourself.

When I try to do a build with React 16, an error is thrown in the file: ./node_modules/react-phone-input/dist/index.js:

Uncaught TypeError: Cannot read property 'string' of undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions