News for hackers. Stuff that matters.
Re:Flux Application Architecture by wingspan on Friday May 09, 2014 @12:56PM (#7721877)
I believe the latest version of React does autobinding on component methods, so you shouldn't need .bind(this). There should be a warning letting you know this (unless it is different for the public version :/).
Re:Flux Application Architecture by spicyj on Friday May 09, 2014 @02:51PM (#7722634)
These aren't component methods so they don't get autobound -- arrow functions would of course work here though.
Re:Flux Application Architecture by wingspan on Friday May 09, 2014 @04:08PM (#7722988)
Ah of course, I was reading it wrong. Thanks.