react-router-scroll icon indicating copy to clipboard operation
react-router-scroll copied to clipboard

No mention of history peerDep in README

Open qrohlf opened this issue 7 years ago • 2 comments

Right now if you install this project with the provided instructions it will result in an unmet peerDependency "history@^2.0.0 || ^3.0.0"

(1) It would be nice to inform users why this peerDep is specified (2) It would be nice to note that users should npm i -S history as part of the install instructions in the README

qrohlf avatar Nov 15 '17 23:11 qrohlf

Well, the idea is that with flat deps in most recent versions of npm, you get these automatically when using React Router.

taion avatar Nov 16 '17 06:11 taion

Can we atleast add support for history >4? kind of blocking other packages not using history...

thecodejack avatar May 03 '19 12:05 thecodejack