react-autobind : Automatically binds methods defined within a components Class to the current objects lexical `this` instance (similarly to the default behavior of React.createClass).. You can installing react-autobind 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-autobind $ sudo npm install -g react-autobind
If want to update the react-autobind package execute the command as below,
$ sudo npm update react-autobind
Update package globally,
$ npm install -g react-autobind
$ sudo git clone https://github.com/rektide/react-autobind.git
$ sudo npm install -g ./react-autobind
react-autobind@1.0.6 /usr/lib/node_modules/react-autobind
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall react-autobind
| Package Name | react-autobind |
| Version | 1.0.6 |
| Description | Automatically binds methods defined within a components Class to the current objects lexical `this` instance (similarly to the default behavior of React.createClass). |
| Released Date | 2016-01-23T09:37:24.919Z |
| Published by | cassiozen |
| How to Learn | https://www.npmjs.com/package/react-autobind/tutorial |