Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# [15.0.0](v14.3.0...v15.0.0) (2020-05-16) * v15 release ([0f82ba6](0f82ba6)) ### Bug Fixes * π better serialization handling in useLocalStorage hook ([68fb835](68fb835)) * π correctly test if env is browser in useMeasure ([9ae494f](9ae494f)) * π make useMeasure work on server ([2daf769](2daf769)) * π remove set dependencies in useSet hook ([90ba9d0](90ba9d0)) * π revert useMeasure defaults to zeros ([dc92b64](dc92b64)) * remove console log π€ ([f17c8a0](f17c8a0)) * **useLocalStorage:** using undefined for empty value instead of null ([1620e01](1620e01)) * use latest set object in useSet "has" method ([41f9452](41f9452)) ### Features * πΈ add useScratch() sensor hook ([58db2f9](58db2f9)) * πΈ catch up with v14 ([be69035](be69035)) * πΈ improve implementation of useMeasure() hook ([a164843](a164843)) * πΈ improve implementation of useMeasure() hook ([4d88240](4d88240)) * πΈ mock useMeasure() hook on server and w/o ResizeObserver ([866f3d7](866f3d7)) * πΈ mock useMeasure() hook on server and w/o ResizeObserver ([2bbc73a](2bbc73a)) * πΈ remove resize-observer-polyfill from useMeasure ([2a13fba](2a13fba)) * πΈ remove resize-observer-polyfill from useMeasure ([bf11131](bf11131)) * Dependencies inference for useCustomCompareEffect ([477c164](477c164)) * improve useAsyncFn and useAsync typings ([85967e2](85967e2)) * keep previous state in useAsyncFn ([54ac91b](54ac91b)) * use useReducer in useUpdate hook, instead of useState + useCallback ([6575b14](6575b14)) * **useLocalStorage:** add remove feature. ([#229](#229)) ([587de16](587de16)) ### BREAKING CHANGES * implementation of useMeasure and useLocalStorage changed * resize-observer-polyfill package is not used with useMeasure() hook anymore. * useMeasure() now defaults all values to -1, if they were not set and internal implementation heavily refactored. * useAsyncFn now keeps hold of old result/error when called multiple times * resize-observer-polyfill package is not used with useMeasure() hook anymore. * useMeasure() now defaults all values to -1, if they were not set and internal implementation heavily refactored.
- Loading branch information