question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade react-popper version to 2.x

See original GitHub issue

This lib isn’t affiliated with react-bootstrap but it does share a number of dependencies and will likely be used on a lot of the same projects. A couple of those dependencies use older versions right now (so e.g. a project using both libs will end up bundling two versions of popper.)

The major version bump for 5.0 seems like a good time to update these deps. I think only two changes are required:

  1. Bump react-overlays dep to 3.x
  2. Remove react-popper dep or bump to 2.x

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
evantahlercommented, Feb 6, 2021

With the new way that NPM v7 resolves peerDependecies, popper v1.x cannot be used with a react v17 project… which means that react-bootstrap-typeahead cannot be used with a react 17 project any more 😦

0reactions
ericgiocommented, Oct 30, 2021

Updated in v6.0.0-alpha.4

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migration Guide | Popper
Migrating to Popper 2. Popper 2 introduces a lot of changes for the better! Here's a guide to help you migrate to the...
Read more >
Install - react-popper - npm
Official library to use Popper on React projects. Latest version: 2.3.0, last published: 8 months ago. Start using react-popper in your ...
Read more >
react-popper | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
How to import popper.js? - Stack Overflow
x version of Popper.js and will be removed in 2.x . You should migrate your dependencies management to a modern system like npm...
Read more >
react-popper/README.md - UNPKG
The CDN for react-popper. ... 1, ## React Popper. 2 ... 4, [![npm version](https://img.shields.io/npm/v/react-popper.svg)](https://www.npmjs.com/package/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found