react-vis-timeline
react-vis-timeline copied to clipboard
Support React 17
Overview
Hello! I was curious if React 17 support was on the roadmap to be added to react-visjs-timeline
? Thanks!
Package versions
react-visjs-timeline: vis version: @latest
I've just updated the dependency in the package.json and it's been working fine on React 17 for a while now. I created a PR with the minor change I Made. https://github.com/razbensimon/react-vis-timeline/pull/43
This issue had a fix merged to main in March of this year. However, a new release was never pushed to NPM (last update 2 years ago). Can you please do so so that users of the modern react/nextjs versions can use this?
https://www.npmjs.com/package/react-vis-timeline
Thank you!
For anyone using npm v8.3.0 or higher, there is the overrides feature that will allow you to install this package for newer React versions. Add the following to your package.json:
"overrides": {
"react-vis-timeline": {
"react": "$react",
"react-dom": "$react-dom",
"vis-data": "^7.1.0",
"vis-timeline": "^7.4.2",
"vis-util": "^4.3.4"
}
},
$react
and $react-dom
resolve to the versions of React and React-DOM you have installed, respectively.