kitze 🚀

Results 75 comments of kitze 🚀

It already exists: https://github.com/streamich/react-use/blob/master/docs/useClickAway.md

The question is, do we want to add stuff to react hanger that already exists in other hooks libraries 🤔

@RIP21 I don't agree because all of their hooks are array based, and there might be differences in individual hooks (i.e they have different methods for `useNumber`)

@geobde wouldn't it be better for this hook to create a ref inside and return it as a result of the hook? I think that'll make it more reusable.

This is the API: https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API Just please check if the browser is supported.

Thanks for reporting @desktopofsamuel