UNPKG

rooks

Version:

Essential React custom hooks ⚓ to super charge your components!

63 lines (32 loc) 1.42 kB
# rooks ## 6.4.3 ### Patch Changes - 140fceab: fix dependency checking in useAsyncEffect ## 6.4.2 ### Patch Changes - 47e847ae: bugfix: window (or document) is not defined when using ssr ## 6.4.1 ### Patch Changes - 19b280fa: decrease bundle size ## 6.4.0 ### Minor Changes - 182e8498: add useArrayState and useSetState hooks to manage arrays and sets ## 6.3.0 ### Minor Changes - 2eac1e11: add useFocus & useFocusWithin hooks ## 6.2.1 ### Patch Changes - e3866ce5: useKeys comes with a new preventLostKeyup option for native events - 7aea2fea: Add an opt-in option to prevent useKeys from losing track of keyup. ## 6.2.0 ### Minor Changes - 11d5b33a: add useResizeObserverRef hook ## 6.1.0 ### Minor Changes - 33f6630d: add useAsyncEffect and useRenderCount hooks ## 6.0.1 ### Major Changes - 8b98cf06: useLocalstorage, useSessionstorage, useTimeout, useInterval, usePrevious, useVisibilitySensor, useUpdateEffect hooks removed. Please use useLocalstorageState, useSessionstorageState, useTimeoutWhen, useIntervalWhen, usePreviousImmediate, useInViewRef and useDidUpdate ## 6.0.0-alpha.0 ### Major Changes - a9d4e0af: useLocalstorage, useSessionstorage, useTimeout, useInterval, usePrevious, useVisibilitySensor, useUpdateEffect hooks removed. Please use useLocalstorageState, useSessionstorageState, useTimeoutWhen, useIntervalWhen, usePreviousImmediate, useInViewRef and useDidUpdate