amrlabib / react-timer-hook

React timer hook

Home Page:https://www.npmjs.com/package/react-timer-hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react native install issues

cainlevy opened this issue · comments

react-timer-hook lists react-dom as a peer dependency, and npm v7 installs peer dependencies by default. This makes clean react-native installs impossible, despite the tag on this repository.

Is react-dom a necessary dependency?

Is react-native supported?

According to https://github.com/amrlabib/react-timer-hook/search?q=react-dom, react-dom should probably be a dev dependency.

If this makes sense, would it be possible to get a quick patch release?