bmaupin / langtrends

Programming language trends
https://bmaupin.github.io/langtrends/
MIT License
3 stars 1 forks source link

Upgrade to React 17 #23

Closed bmaupin closed 2 years ago

bmaupin commented 2 years ago

Right now we can't upgrade to React 17 because of react-vis, which only has React 16 as a dependency in its package.json (https://github.com/uber/react-vis/issues/1356)

However, once NPM adds support for dependency overrides we may be able to override this (https://github.com/npm/rfcs/pull/129)

bmaupin commented 2 years ago

NPM overrides have been added in v8.3.0

https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides

So something like this might work:

  "overrides": {
    "react": "^17.0.0"

However, since react-vis is unmaintained this is ultimately just kicking the can down the road and a replacement should probably be found, e.g. #26