Skip to content

Upgrade some dependencies for compatibility with React 18

Axel Bocciarelli requested to merge deps into main

Part of #103.

I started with a few easy ones.

Then, I tried upgrading react-bootstrap-typeahead. The upgrade itself was simple enough; I feared there would be version conflicts with Bootstrap/Popper.js, but that wasn't the case. Also, the latest version installs react-popper@2.3, which is compatible with React 18, so it's great.

Unfortunately, I went down the rabbit hole in MeasurementGroup because of typing issues. Also, the current implementation is causing issues in the styleguide: whenever you select an option, you're being redirected to the homepage... So I was too scared of introducing regressions and decided to revert.

Merge request reports