Skip to content

Using auth0-lock with React 16 #1096

@mdimovska

Description

@mdimovska

React 16 is already added to the dependencies in package.json.
Currently, the dependencies in auth0-lock are specified like this:

"react": "^15.6.1 || ^16.0.0",

"react-dom": "^15.6.1 || ^16.0.0”

However there is not yet a release version of React 16, but only alpha and beta prereleases.
Since I am using React 16 alpha in the project, I get multiple installs of react:

The reason for this is that prereleases are not considered if not specified explicitly, they are excluded from the matching.

Is it possible to append ^16.0.0-alpha and/or ^16.0.0-beta to react and react-dom, since there isn't a release of React v16 at the moment?

  • Lock version: 10.19.0

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