A React Hook To Determine Component’s Size & Media Queries – Cool Dimensions

Category: Others , React
Author:wellyshen
Views Total:no views
Official Page:Go to website
Publish Date:May 22, 2020
License:MIT

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

You Might Be Interested In:

Leave a Reply