Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

suppress incorrect dependency warning when using react 17 #282

Open
AndreBClark opened this issue Jul 25, 2021 · 2 comments
Open

suppress incorrect dependency warning when using react 17 #282

AndreBClark opened this issue Jul 25, 2021 · 2 comments

Comments

@AndreBClark
Copy link

AndreBClark commented Jul 25, 2021

after yarn install

warning " > [email protected]" has incorrect peer
  dependency  "react@^16.8.5".

I suggest we update it to allow for newer versions >=16.8.5
fixed by #283

@AndreBClark AndreBClark changed the title bump react version to 17 to silence unmet peer dependency update peer dependency react to suppress unmet dependency warning Jul 25, 2021
@AndreBClark AndreBClark changed the title update peer dependency react to suppress unmet dependency warning suppress incorrect dependency warning when using react 17 Jul 26, 2021
@plcdnl
Copy link

plcdnl commented Nov 21, 2021

Is this plugin still mantained? I'm having the same issue and i don't know how to solve it. It's safe to use this method?

@AndreBClark
Copy link
Author

the pull request #283 i posted does quiet the warnings and the animation works properly, the fix is just changing the react version from ^16.8.5" to ">=16.8.5"
last I checked. there has not been any commits in almost a year and the last release was over 3 years ago, I have not seen the maintainer active recently either.
It appears abandoned to me.
the last poster on #264 (comment) recommends using framer motion and gives a link to a tutorial, so I recommend that if switching packages is possible for your usecase

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants