We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why? Would be convenient to have all useful hooks in one place
The hooks which should be ported and are not currently:
useWindowSize
usePrevious feat: usePrevious hook #6
useNetworkState
useOrientation
usePreferredLanguage feat: add usePreferredLanguage hook #4
useVisibilityChange feat: add useVisibilityChange hook #5
useRenderInfo
useRenderCount feat: useRenderCount hook #7
useQueue add useQueue hook & example #15
useMap
useSet
useThrottle
useObjectState
useDefault
useLongPress
useMeasure
useMouse
useWindowScroll Added in 9540dc6
These hooks depend on experimental useEffectEvent:
Types for all hooks: https://github.com/uidotdev/usehooks/blob/main/index.d.ts
Code for all hooks: https://github.com/uidotdev/usehooks/blob/main/index.js
The text was updated successfully, but these errors were encountered:
Nice idea !
Just added useWindowScroll a few minutes ago.
useWindowScroll
This is a great starting point, everyone is welcome implementing those hooks.
Sorry, something went wrong.
No branches or pull requests
Why?
Would be convenient to have all useful hooks in one place
The hooks which should be ported and are not currently:
useWindowSize
usePrevious
feat: usePrevious hook #6
useNetworkState
useOrientation
usePreferredLanguage
feat: add usePreferredLanguage hook #4
useVisibilityChange
feat: add useVisibilityChange hook #5
useRenderInfo
useRenderCount
feat: useRenderCount hook #7
useQueue
add useQueue hook & example #15
useMap
useSet
useThrottle
useObjectState
useDefault
useLongPress
useMeasure
useMouse
useWindowScroll
Added in 9540dc6
These hooks depend on experimental useEffectEvent:
Types for all hooks:
https://github.com/uidotdev/usehooks/blob/main/index.d.ts
Code for all hooks:
https://github.com/uidotdev/usehooks/blob/main/index.js
The text was updated successfully, but these errors were encountered: