-
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 -
useTheme
β dynamically change the appearance of your app using CSS variables with light/dark mode.
-
React
-
TypeScript
-
Microbundle
-
CircleCI
-
Eslint & Prettier
-
Husky & Lint-staged
-
React Testing Library & React Hooks Testing Library
-
Github Actions
Thanks goes to these wonderful people (emoji key):
Olaf Sulich π» π§ |
Adrian Wloszynski π» |
This project follows the all-contributors specification. Contributions of any kind welcome!
Looking to contribute? Look for the Good First Issue label.
Please file an issue for bugs, missing documentation, or unexpected behavior.
Please file an issue to suggest new features/hooks. Vote on feature requests by adding a π. This helps me prioritize what to work on.
For questions related to using the library, you can raise issue here, or send me an email: olafsulich@gmail.com