React [higher-order component](https://gist.github.com/sebmarkbage/ef0bf1f338a7182b6775) to get dimensions of container
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.
Loved by over 200,000 developers