You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
react-digraph has a transitive dependancy to react15 #335
Hello, I have an issue while running npm install in my project, my react-digraph dependency (to v7.2.1) is pulling react 15 due to a transitive dependency :
I'll add that it seems html-react-parser v0.9.0 does not have react-dom-core as a dependency anymore, so this might be a fix for v7.2.1 to upgrade to this version ?
Activity
mjothy commentedon Feb 4, 2022
I'll add that it seems html-react-parser v0.9.0 does not have react-dom-core as a dependency anymore, so this might be a fix for v7.2.1 to upgrade to this version ?
AmitAber commentedon Dec 28, 2022
The issue can be mitigated by upgrading
html-react-paser, e.g. to "^3.0.0". This can be forced from outside using resolution overrides (yarn/npm).This can cause a new issue for React 18+ apps since the code uses the now deprecated
ReactDOM.renderAPI in several places (e.g. https://github.com/uber/react-digraph/blob/master/src/components/graph-view.js#L1588).