react-dimensions : React [higher-order component](https://gist.github.com/sebmarkbage/ef0bf1f338a7182b6775) to get dimensions of container. You can installing react-dimensions npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install react-dimensions $ sudo npm install -g react-dimensions
If want to update the react-dimensions package execute the command as below,
$ sudo npm update react-dimensions
Update package globally,
$ npm install -g react-dimensions
$ sudo git clone https://github.com/rektide/react-dimensions.git
$ sudo npm install -g ./react-dimensions
react-dimensions@1.3.1 /usr/lib/node_modules/react-dimensions
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall react-dimensions
| Package Name | react-dimensions |
| Version | 1.3.1 |
| Description | React [higher-order component](https://gist.github.com/sebmarkbage/ef0bf1f338a7182b6775) to get dimensions of container |
| Released Date | 2017-10-24T20:05:48.082Z |
| Published by | petrogad |
| How to Learn | https://www.npmjs.com/package/react-dimensions/tutorial |