dirtyredz / react-scroll-up-button

React Component for a fixed scroll to top button.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React 17 support

zanedev opened this issue · comments

Can you add react 17 peer support? --legacy-peer-deps seems to work for now

npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.5.4 || ^16.0.0" from react-scroll-up-button@1.6.4
npm ERR! node_modules/react-scroll-up-button
npm ERR!   react-scroll-up-button@"^1.6.4" from the root project```

+1 on the work around ... but I'm a bit concerned about doing this since there could be other reasons other than the react version restrictions

I may take a stab at testing my theory though

A fix no this soon would be great because a bunch of errors happen when you try to update your other npm packages