Going to write this issue for documentation purposes as I have a fix coming out very shortly.
The react-textfit package has been pretty much abandoned, with all PRs in the last 2-3 years never getting a review. As such, the dependencies for React 18 are all out of whack and doing anything npm package related needs a force flag (which is not good at all). I'm going to create a fork of the project, and update it's dependencies to get rid of these errors.
Going to write this issue for documentation purposes as I have a fix coming out very shortly.
The react-textfit package has been pretty much abandoned, with all PRs in the last 2-3 years never getting a review. As such, the dependencies for React 18 are all out of whack and doing anything npm package related needs a force flag (which is not good at all). I'm going to create a fork of the project, and update it's dependencies to get rid of these errors.
That npm package is found here https://github.com/ataverascrespo/react-textfit