Open Loner291999 opened 2 years ago
Using npm install react-textfit --force
worked for me
it works for me with react 18
This package seems to work with the latest react, except that npm reports dependency conflicts.
In order not to affect subsequent installations of other packages, I override the dependency version of this package after installation:
// package.json
{
......
"overrides": {
"react-textfit": {
"react": ">=15.0.0",
"react-dom": ">=15.0.0"
}
}
}
Seems the dev has completely abandoned the project