New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React 17 dependency issue with react-popper #2045
Comments
|
Unfortunately we won't be migrating to react-popper v2 anytime soon. We're currently on the latest version of 1.x and I think that's been deprecated for some time. |
|
I am facing this issue as well on I was also looking at the various comments in this thread - #1748 and its unclear whether reactstrap is going to support bootstrap 5 or is react-bootstrap the path forward? |
|
Hi @gauravshah27, we have a Bootstrap v5 PR pending from a fork that includes Popper v2 update. Note this above includes changes needed for Bootstrap 5 too - not everything is needed to update reactstrap v4 |
|
Thanks @bestguy for the reply. It would be really helpful if we can have a version 4.x with this update. Right now the move to npm 7 for our React 17 based apps is not possible because of how npm 7 treats the peer dependencies. Is there any work planned to roll out a v4 with this change? |
|
I'm currently working with the Popper team to release a 1.x version with react 17 support. Meanwhile you could use the |
|
@kyletsang thanks a lot for the prompt reply. Really appreciate the work. I have tested it out already with |
|
react-popper 1.3.8 has been published with React 17 support |
|
@kyletsang thanks for letting us know and for updating react-popper. |
@kyletsang I am not seeing the react 17 support in this version. The peer dependencies still look as follows: I am still seeing the above issue with Also, I am unable to find the tag on github - https://github.com/popperjs/react-popper and the last cut tag is 1.3.6 eventhough I am able to download 1.3.8. Also this page is giving me 404 - https://github.com/popperjs/react-popper/tree/v1.3.8 this one works fine - https://github.com/popperjs/react-popper/tree/v1.3.6 |
/cc @FezVrasta Looks like the react 17 peer deps didn't make it into the release: |
|
🤦♂️ I'll take a look tomorrow morning, sorry 😞 |
|
1.3.9 should be good |
|
Thanks @FezVrasta! |
Following the instructions on the README to install the latest version using
npx create-react-app.Reaching this line there's a dependency issue
npm i reactstrap react react-dom:Can we just bump the version of react-popper to a version that supports React 17?
The text was updated successfully, but these errors were encountered: