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
These last lines should be deleted and only peerDependencies used.
devDependencies cannot be modified as react and react-dom are important dependencies for development.
Are you trying to contribute back to the project or you want to customize and use it back in your project. If its for the later reason, then its ideal to make changes on the main repo first.
Describe the bug
I use the library locally so I can make a few changes. This way I hit this error: https://stackoverflow.com/questions/56021112/react-hooks-in-react-library-giving-invalid-hook-call-error/57422196
The
package.json
hasreact-chrono/package.json
Lines 39 to 41 in 9c7bc09
and the rollup config has
react-chrono/rollup.config.mjs
Line 54 in 9c7bc09
The problem is that the
package.json
also has these dependencies too:react-chrono/package.json
Lines 94 to 95 in 9c7bc09
These last lines should be deleted and only peerDependencies used.
BTW:
There is also
react-chrono/package.json
Line 96 in 9c7bc09
But
react-is
does not seem to be used anywhere.The text was updated successfully, but these errors were encountered: