auto-bind-react
Automatically bind methods to their class instance for React
Install
npm install auto-bind-react
Usage
;; { super; ; thisstate = slogan: 'I am so cool!' ; } { ; } { return <div onClick=thissay> Click me to say hello! </div> ; }
License
MIT © Wang Sijie