Open acierto opened 7 years ago
I think react
should not be placed in the lib's dependencies
(devDependencies
instead), if so there will be two version of react
in a project, which causes the problem you came across.
people who use this lib already install react in their own project's package.json
.