Open RichardLindhout opened 2 years ago
Also reported in #158
Is there a way to apply this patch if this package is not updated? I tried using https://www.npmjs.com/package/patch-package but it runs after install so that doesn't work.
Found the answer: just add an overrides
key to your package.json
:
{
"dependencies": {
"react": "18.2.0",
"react-dom": "18.2.0",
"react-use-form-state": "^0.13.2"
},
"overrides": {
"react-use-form-state": {
"react": "*",
"react-dom": "*"
}
}
}
Any hope of getting this fixed?
This fixes the following error when installing: