It would be great to update package.json to support react & react-dom of both version: ^16.0.0 || ^17.0.0 since there are no breaking changes affecting react-resize-detector in version 17.
The motivation for this is that many packages have not updated their dependencies to v17 (while there are already some packages which support both versions), so there will be peer dependencies conflicts.
It would be great to update package.json to support react & react-dom of both version:
^16.0.0 || ^17.0.0
since there are no breaking changes affecting react-resize-detector in version 17.The motivation for this is that many packages have not updated their dependencies to v17 (while there are already some packages which support both versions), so there will be peer dependencies conflicts.
This should work fine: