@react-hookz/web
Advanced tools
Comparing version 1.21.0 to 1.22.0
@@ -0,1 +1,8 @@ | ||
# [1.22.0](https://github.com/react-hookz/web/compare/v1.21.0...v1.22.0) (2021-05-25) | ||
### Features | ||
* new hook `useMeasure` ([#80](https://github.com/react-hookz/web/issues/80)) ([354efc6](https://github.com/react-hookz/web/commit/354efc61883e8ffc7aeb468b9367197c63da170c)) | ||
# [1.21.0](https://github.com/react-hookz/web/compare/v1.20.4...v1.21.0) (2021-05-25) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@react-hookz/web", | ||
"version": "1.21.0", | ||
"version": "1.22.0", | ||
"description": "React hooks done right, for browser and SSR.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -120,1 +120,3 @@ <div align="center"> | ||
— Invokes a callback whenever ResizeObserver detects a change to target's size. | ||
- [**`useMeasure`**](https://react-hookz.github.io/?path=/docs/sensor-usemeasure) | ||
— Uses ResizeObserver to track element dimensions and re-render component when they change. |
163161
160
3264
122