Releases: maslianok/react-resize-detector
Releases · maslianok/react-resize-detector
v6.7.0
useResizeDetector
hook: fix TS types #149
v6.6.0
- fix rerendering issues caused by ref changes (#130)
- fix ssr rendering (#138)
- fix
ResizeObserver
polyfill usage (#137)
v6.3.3
Return support to React 16^
v6.3.0
useResizeDetector
- #126 fix onResize, handleWidth, handleHeight props
- #120 ability to pass custom ref to the hook
v6.2.0
- remove
requestAnimationFrame
optimization. Details #122
- reduce module size
v6.0.0-rc
- Rewritten in TypeScript
- React hook support
useResizeDetector
(example)
- Reduce module size to 3kb by removing the polyfill (for those who need IE supports there is a separate bundle
react-resize-detector/withPolyfill
)