Create `useDoubleClick` hook package
Closed this issue · 8 comments
gotbahn commented
- create standalone
@zattoo/use-double-click
package - extend hook with optional interval
- replace web common hook with new package
- open source it together with article
nitzanashi commented
@godban regarding naming the package I had some thought about what is the correct name here
use-double-click
react-use-double-click
react-double-click-hook
out of this 3, I think the 3rd option is the more suitable, what do you think?
gotbahn commented
I like @zattoo/use-double-click
. You can check https://nikgraf.github.io/react-hooks for common pattern
gotbahn commented
imo something starting from use
is already pointing to react hook
yevmoroz commented
if there wouldn't implication on hooks, it would make sense to keep react part. so I agree with @godban
nitzanashi commented
@godban @jeniamoroz thanks for the feedback, will continue with use-double-click
gotbahn commented
I think we can try to use GitHub actions instead of travis here