Open
Description
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
has
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:
Lines 94 to 95 in 9c7bc09
These last lines should be deleted and only peerDependencies used.
BTW:
There is also
Line 96 in 9c7bc09
But react-is
does not seem to be used anywhere.