amrlabib / react-timer-hook

React timer hook
https://www.npmjs.com/package/react-timer-hook
MIT License
515 stars 112 forks source link

Widen react-dom peer dependency version requirement #39

Closed MasterOdin closed 3 years ago

MasterOdin commented 4 years ago

Thanks for making this! When installing this module, we get a warning about an unmet peer dependency on react-dom, as it looks like this module is set to require the exact version of 16.8.0. It seems like this module though works fine with newer versions of react-dom, and I wonder if it should be adjusted to be ^16.8.0 like the react peer depdendency? For reference, react-dom 16.8.0 was released in 02/2019, and they are currently up to 16.13.1.

amrlabib commented 3 years ago

Thank you for reporting this, it is fixed now in v2.0.4