TylerBarnes / gatsby-plugin-transition-link

A link component for page transitions in gatsby
537 stars 71 forks source link

suppress incorrect dependency warning when using react 17 #282

Open AndreBClark opened 2 years ago

AndreBClark commented 2 years ago

after yarn install

warning " > gatsby-plugin-transition-link@1.20.5" has incorrect peer
  dependency  "react@^16.8.5".

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

plcdnl commented 2 years ago

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 commented 2 years ago

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 https://github.com/TylerBarnes/gatsby-plugin-transition-link/issues/264#issuecomment-903943439 recommends using framer motion and gives a link to a tutorial, so I recommend that if switching packages is possible for your usecase