Closed nksfrank closed 3 years ago
Hey @nksfrank , thanks for your issue!
You suppose this would fix it? https://github.com/merisbahti/klyva/pull/27
I was testing this stuff around in some of my projects and it works really good, thanks for the help!
the source code in "react-utils.ts" is importing and using both
react
andreact-dom
packages directly, but these packages are not included in thedependency
field in yourpackage.json
(they are however located indevDependencies
).you could add them under
peerDependencies
field as^16.8.3
to allow the end user to supply their own react/react-dom version from their project