2.0.3 • Published 3 years ago

react-client-dimensions v2.0.3

Weekly downloads
12
License
MIT
Repository
-
Last release
3 years ago

React Client Dimensions

This package provides you with an easy-to-use custom react hook called useClientDimensions() that will provide you with the client width and height. These dimensions are responsive to resizing of the client window.

React client dimensions is a very easy-to-use and concise library. The package's import cost is 168 B (with all dependencies, minified and gzipped).

All you need to do is,

  1. Import the package
import { useClientDimensions } from "react-client-dimensions";
  1. Use it
const { vw, vh } = useClientDimensions();

Yeah, it's that simple.

1.2.0

3 years ago

1.1.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.4-0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago