react-media-query-hoc : A dead simple React Higher Order Component (HOC) that uses context for matching media queries. You can installing react-media-query-hoc 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-media-query-hoc $ sudo npm install -g react-media-query-hoc
If want to update the react-media-query-hoc package execute the command as below,
$ sudo npm update react-media-query-hoc
Update package globally,
$ npm install -g react-media-query-hoc
$ sudo git clone https://github.com/rektide/react-media-query-hoc.git
$ sudo npm install -g ./react-media-query-hoc
react-media-query-hoc@0.3.5 /usr/lib/node_modules/react-media-query-hoc
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall react-media-query-hoc
| Package Name | react-media-query-hoc |
| Version | 0.3.5 |
| Description | A dead simple React Higher Order Component (HOC) that uses context for matching media queries |
| Released Date | 2017-11-15T05:52:24.529Z |
| Published by | domain-group-fronten |
| How to Learn | https://www.npmjs.com/package/react-media-query-hoc/tutorial |