Update react-modal library version from 3.14.3 to 3.16.1
When we try to update react version from 17 to 18 then, I get a warning in the console:
npm WARN react-modal@3.14.3 requires a peer of react@^0.14.0 || ^15.0.0 || ^16 || ^17 but none is installed. You must install peer dependencies yourself.
npm WARN react-modal@3.14.3 requires a peer of react-dom@^0.14.0 || ^15.0.0 || ^16 || ^17 but none is installed. You must install peer dependencies yourself.
Update react-modal library version from 3.14.3 to 3.16.1 When we try to update react version from 17 to 18 then, I get a warning in the console:
npm WARN react-modal@3.14.3 requires a peer of react@^0.14.0 || ^15.0.0 || ^16 || ^17 but none is installed. You must install peer dependencies yourself. npm WARN react-modal@3.14.3 requires a peer of react-dom@^0.14.0 || ^15.0.0 || ^16 || ^17 but none is installed. You must install peer dependencies yourself.
https://github.com/salesforce/design-system-react/blob/master/package.json#L107
In the latest version, they are supporting react 18 version https://github.com/reactjs/react-modal/blob/master/package.json#L73