Determine Component Size and Media Queries with React Hook

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.

Installation:

# NPM
$ npm install react-cool-dimensions --save

# Bower
$ bower install react-cool-dimensions --save

Preview:

A React Hook To Determine Component's Size & Media Queries - Cool Dimensions

Download Details:

 

Author: wellyshen

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/wellyshen/react-cool-dimensions

License: MIT

#reactjs #react 

Determine Component Size and Media Queries with React Hook
1.15 GEEK