use-haki v1.0.6
Contributing | Code of Conduct | Docs
Hooks
useClickOutside— allows you to detect clicks outside of a specified element.useEventListener— provide a declarative hook for events listeners.useFetch— hook for fetch requests.useGeoPosition— gives device current location.useHelloRomanJoke— fetch random Hello Roman joke.useHover— detect mouse move on a specified element.useIdle— tracks if user on the page is idle.useInterval— provides setInterval in react hook.useKeyPress— detect when user is pressing a specific key.useLocalStorage— manage your local storage in easy way.useMousePosition— tracks mouse position.usePageWidth— gives current page width.useScrollPosition— tracks scroll position.useToggle— tracks toggle state.useUnsplash— gives random image from Unsplash.useDateTimeFormat— enable language-sensitive date formattingusePluralRules— find ordinal for given numberuseIntersection— use intersection observer listener in an easy wayuseMeasure— gives sizes of an element and its position
Technologies
- React
- TypeScript
- Microbundle
- CircleCI
- Eslint & Prettier
- Husky & Lint-staged
- React Testing Library & React Hooks Testing Library
Github Actions
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Issues
Looking to contribute? Look for the Good First Issue label.
🐛 Bugs
Please file an issue for bugs, missing documentation, or unexpected behavior.
💡 Feature Requests
Please file an issue to suggest new features/hooks. Vote on feature requests by adding a 👍. This helps me prioritize what to work on.
❓ Questions
For questions related to using the library, you can raise issue here, or send me an email: olafsulich@gmail.com