zattoo/use-double-click

Create `useDoubleClick` hook package

Closed this issue · 8 comments

  • 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

@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?

I like @zattoo/use-double-click. You can check https://nikgraf.github.io/react-hooks for common pattern

imo something starting from use is already pointing to react hook

if there wouldn't implication on hooks, it would make sense to keep react part. so I agree with @godban

@godban @jeniamoroz thanks for the feedback, will continue with use-double-click

I think we can try to use GitHub actions instead of travis here