usetimeout-react-hook
usetimeout-react-hook copied to clipboard
chore: support later version of react
^16.8.0 wouldn't support latest version react 18, this MR changes the semver to >=16.8.0 meaning the minimal version is 16.8.0, and any version greater than this will be acceptable.
also react-dom is removed from peer deps as it is not directly used in the code.
great, I wanted to do the same ^^
This would really be useful and allow us to npm install without the unsafe peer dependency flag