hookrouter icon indicating copy to clipboard operation
hookrouter copied to clipboard

Support React 17

Open saturngod opened this issue 5 years ago • 2 comments

Current hookrouter doesn't support the react 17. Can you update the react version in package.json ?

saturngod avatar Dec 23 '20 04:12 saturngod

Am downgrading react version to 16 in order to use hookrouter. Will you update the react version please?

milleymilli avatar Jan 13 '21 01:01 milleymilli

I run hookrouter with React 17 by installing it using the --legacy-peer-deps flag and it works great.

npm install hookrouter --legacy-peer-deps

So it seems like it's already compatible. Just need to update the react dependency from "16.8.2" to ">=16.8.2".

tony-garcia avatar Aug 25 '21 14:08 tony-garcia