News for hackers. Stuff that matters.
Re:Learning Node.js and React while building a product by Androider on Tuesday June 13, 2017 @01:29PM (#14546635)
Nowadays you can just stick a class property anywhere in your React component:

   handleSomething = (params) => {
     ...
   };
and the use it in your render function like this without any binding:

  <Foo onSomething={this.handleSomething}/>
Re:Learning Node.js and React while building a product by miroslavpopovic on Tuesday June 13, 2017 @04:04PM (#14548116)
Yes, class properties are the way to go.
Re:Learning Node.js and React while building a product by nbclark on Tuesday June 13, 2017 @01:42PM (#14546792)
Good suggestion - Thank you