problem description
I want to use the react transition group library in my current project, but I find that I already have a duplicate dependency in package.json, which makes it impossible for me to install a new dependency.
the environmental background of the problems and what methods you have tried
because this old dependency was added by our predecessors, it was a github repo, that fork the 1.x version of react transition group, and has been highly customized, so I can"t delete it yet, but I need to use some new features of the 2.x version of react transition group, so the only way is to install another 2.x version of react transition group.
related codes
/ / Please paste the code text below (do not replace the code with pictures)
"dependencies": {
"react-transition-group": "github:foo/react-transition-group",
"react-transition-group": "^2.4.0",
}