News for hackers. Stuff that matters.
Re:React v0.12 by josebalius on Tuesday October 28, 2014 @04:43PM (#8523473)
So are ES6 classes for components coming in 0.13?
Re:React v0.12 by lobster_johnson on Tuesday October 28, 2014 @10:42PM (#8525219)
You can use ES6 classes today:

    class Button {
      render() {
        return <button>{this.props.label}</button>;
      }
    }

    Button = React.createClass(Button.prototype);
Of course, it would have been nice to be able to skip that last line, and extend/mix in some React base class instead.
Re:React v0.12 by zpao on Tuesday October 28, 2014 @05:23PM (#8523677)
Maybe. We're still working on the details about what that will look like. Chances are we'll have some basic support if you're doing a limited set of things. Stay tuned.