use-haki
height="80"
width="80"
alt="fish"
src="https://i.ibb.co/SmkHMr2/fishhook.png"
/>
React hooks library
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 formatting
usePluralRules
— find ordinal for given number
useIntersection
— use intersection observer listener in an easy way
useMeasure
— 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.See Bugs
💡 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.See Feature Requests