Skip to content

Dependency issues with React 17 #85

@PerryRylance

Description

@PerryRylance

Describe the bug
Looks like this package has peer dependency react@16.14.0, I'm using 17.0.2.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new project with npx create-react-app
  2. npm install react-preloaders
  3. npm run
  4. Import and add any preloader eg <Cube/> to your app's root
  5. Visit localhost:3000

Expected behavior
The app starts with the preloader visible.

Observed behaviour

1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app

Screenshots
image

Desktop (please complete the following information):
n/a

Smartphone (please complete the following information):
n/a

Additional context
Apologies if I'm missing something here.

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