craft.js
craft.js copied to clipboard
@craftjs/util missing peer dependency for react-dom
Describe the bug Utils package imports react-dom, but doesn't have it listed in peer dependencies of the package.
On a side note, this seems to be treated as an error by yarn v3 (at least in pnp mode).
have you tried https://yarnpkg.com/configuration/yarnrc#packageExtensions in yarn 3 to fix this
I was able to get it working with package extensions, thanks. From what I understand, I think this should also be updated in the package though? I'm pretty novice with npm packaging though, so let me know if this should be closed.