@fransvilhelm/hooks
3.0.0
Major Changes
- Update api interface for usePromise hook (by @adambrgmn in
291a21c
) - Remove useTaskRunner hook (by @adambrgmn in
0e586ad
)
Minor Changes
- Skip resize observer in useDimensions hook (by @adambrgmn in
291a21c
) - Add useClickOutside hook (by @adambrgmn in #24)
- Add useDeepEqualEffect hook (by @adambrgmn in #20)
- Add usePrevious hook (by @adambrgmn in #20)
- Add useDeepEqualLayoutEffect hook (by @adambrgmn in #20)
- Add useDarkMode hook (by @adambrgmn in #25)
Patch Changes
- Clear localstorage item if passed undefined/null (by @adambrgmn in #25)