supasate / connected-react-router

A Redux binding for React Router v4
MIT License
4.73k stars 592 forks source link

Can't install package with React 18.1 #571

Open NetoBoralli opened 2 years ago

NetoBoralli commented 2 years ago

Whenever I try to install the last version of the package, using the last release of React, I receive the following error. image

melodymonyok commented 2 years ago

Yeah, we are having this same issue as well. I haven't been able to found a work-around. Right now my only idea is to just return back to React version 17.0.0.

awreese commented 2 years ago

@NetoBoralli Barring any compatibility issues you could open a PR to update the project's peer dependency to include react 18. Right now though it's locked to React 16/17.

petatemarvin26 commented 2 years ago

If you are strongly get into this try to add --legacy-peer-deps

Mihai1iMob commented 1 year ago

@NetoBoralli Barring any compatibility issues you could open a PR to update the project's peer dependency to include react 18. Right now though it's locked to React 16/17.

PR: https://github.com/supasate/connected-react-router/pull/587 but owner seems to no longer be active as discussed in this issue: https://github.com/supasate/connected-react-router/issues/579

awreese commented 1 year ago

@NetoBoralli Barring any compatibility issues you could open a PR to update the project's peer dependency to include react 18. Right now though it's locked to React 16/17.

PR: #587 but owner seems to no longer be active as discussed in this issue: #579

Yeah, this appears to be a dead project at this point. I moved on to redux-first-history on my newer projects and it works quite well.