Releases: ctrlplusb/react-sizeme
Releases · ctrlplusb/react-sizeme
v2.6.4
Patches
- Minor fixes to typescript definitions: 002843f
v2.6.2
Patches
Credits
Huge thanks to @impzero for helping!
v2.6.0
Minor Changes
- Added definitions.: #152
- Adds typescript typings tests: 3b12b32
Patches
- Added testURL to jest config: #147
- Change componentWillReceiveNextProps to componentDidUpdate: #149
- Upgrades dev dependencies: f16ce7d
- Updates dependencies: de33200
Credits
Huge thanks to @slig, @tristanHessell, and @jacoahmad for helping!
v2.5.2
Patches
- Update component.js: #142
Credits
Huge thanks to @retyui for helping!
v2.5.1
Big rewrite 🙂
Minor changes
- Adds a
SizeMe
component that uses render props pattern
- Adds a named export
withSize
HOC
Please see the README for more information.
Note the existing import will still work as before. i.e.
import withSize from 'react-sizeme'
v2.4.4
Patches
- Optimises element-resize-detector listener binding.: 9d09beb
v2.4.3
Patches
- Call set state after calling onSize callback: #138
- Updates dependencies.: b083b47
- Fixes SSR. Closes #134: 320d7a2
Credits
Huge thanks to @hdwatts for helping!
v2.4.1
Patches
- Import fix for lodash.throttle and lodash.debounce: #133
Credits
Huge thanks to @joeyJsonar for helping!