The Cool Dimensions library provides a React hook to measure an element’s size and handle responsive components using ResizeObserver API.
Easy to use and super tiny. Also compatible with Server-side rendering.
# NPM $ npm install react-cool-dimensions --save # Bower $ bower install react-cool-dimensions --save
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/wellyshen/react-cool-dimensions