2.0.0
<a name"2.0.0">
2.0.0 (2016-04-19)
Breaking Changes
Okay, sorry about this, but I have decided to release a breaking change. That being said I think it's unlikely to affect many people.
I've realised that I may be causing some confusion by always providing width/height values even if you aren't monitoring one of the dimensions. If you mistakenly rely on a dimension that isn't being monitored this may lead to gremlins in your code. Therefore I have decided to provide null
values for any dimension that is not being monitored.
By default we only monitor width, therefore if you would like to get values for height change the configuration for your SizeMe HOC to:
SizeMe({ monitorHeight: true })(YourComponent);
(24b49cdf)