NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4980 most downloaded on npm
Collection of React Hooks
Last release 3 months ago
10 Jun 2026
Release timing varies
gaps range from 8 days to 1.5 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
273 releases · first in 2018
## 13.26.4 (2020-02-29) ### Bug Fixes * useHoverDirty eslint fix
deps: update dependency @types/js-cookie to v2.2.5
One column per quarter.
deps: update dependency @xobotyi/scrollbar-width to v1.9.3
deps: update dependency @xobotyi/scrollbar-width to v1.9.0
# 13.26.0 (2020-02-15) ### Bug Fixes * add initialState to deps (b394f3d) ### Features * add useMethods state hook
🐛 support default event in useClickAway()
useBeforeUnload: allow passing a dirty function
use fast-deep-equal for deep comparisons
add createReducerContext and createStateContext factories
add createGlobalState hook generator
🐛 don't throw in useMediaDevices on missing browser API
deps: update dependency @xobotyi/scrollbar-width to v1.8.2
useIntersection: disconnect an old IntersectionObserver instance when the ref changes
deps: update dependency @xobotyi/scrollbar-width to v1.7.0
deps: update dependency @xobotyi/scrollbar-width to v1.6.0
# 13.22.0 (2020-01-24) ### Bug Fixes * Fail testing and update doc (57b9041) ### Features * add useLongPress hook
# 13.21.0 (2020-01-20) ### Features * Typings for useDefault
useMap: allow resetting with provided value other then initial
# 13.19.0 (2020-01-16) ### Features * add useError hook
add serializer/deserializer option to useLocalStorage
add support for body lock on iOS
update the types dep for js-cookie
add option to useTitle to restore title on un-mount
# 13.15.0 (2020-01-13) ### Features * add useCookie hook
useUpdateEffect cleanup test returns false positive
## 13.14.2 (2020-01-08) ### Bug Fixes * bump fast-shallow-equal
useUpdateEffect returns optional cleanup function
🎸 add [vertical] flag to useSlider() hook
add useShallowCompareEffect and useCustomCompareEffect hooks
useSet: "has" method in useSet updated to reference latest set object
useMap: methods with side effects should be stable across renders.
# 13.12.0 (2019-12-09) ### Features * useScrollbarWidth hook;
# 13.11.0 (2019-12-08) ### Features * 🎸 add useUnmountPromise hook
useUpdate hitting maxInt, failing to trigger rerender
"get" method in useMap updated to reference latest map object
# 13.10.0 (2019-11-28) ### Features * useStateHistory
add useFirstMountState & useRendersCount hooks
## 13.8.2 (2019-11-22) ### Bug Fixes * #792: make useUnmount invoke the current callback version instead of very first (75284c6), closes #792
useAsyncFn does not discard old promises and might produce races
useStateValidator: Refactor method and improve typings;
# 13.7.0 (2019-11-14) ### Features * Add useSet hook
remove any types in useThrottleFn
## 13.6.2 (2019-11-11) ### Bug Fixes * restrict useThrottleFn types
🐛 check window.Event constructor exists in useLocation
useCounter: reset to the newest initialValue
resolveHookState: by accident removed needed type.
useStateList: implemented currentIndex, setState, setStateAt methods as requested in #634;
# 13.3.0 (2019-11-06) ### Features * useDebounce add cancel (693aec8) * useDebounce add cancel
## 13.2.2 (2019-11-06) ### Bug Fixes * #749: now should work with SSR (c12976c), closes #749
yarn.lock: re-create the yarn.lock file with nailed versions in devDeps
usePreviousDistinct: add tests for undefined value behaviour;
pull request template for features
useLockBodyScroll: infer overflow type directly from declaration.
deprecated useRefMounted hook is now removed, use useMountedState hook instead
useCounter: reworked with use of new resolveHookState function plus improved memory usage;
# 12.12.0 (2019-10-31) ### Features * add typings for createReducer
useWait: add deprecation messages to readme and export;
useUpdate: improve memory usage - now single function instance to increment all counters;
useSize avoid crash in Safari 11
# 12.9.0 (2019-10-26) ### Features * add createBreakpoint
Your coding agent can read these notes before it upgrades. Set up the MCP server →