дэн@dan_abramov·Apr 20, 2015You don't need PureRenderMixin or base PureComponent. Just use a function and Babel class properties.31527
Andy Matuschak@andy_matuschak·Apr 20, 2015@dan_abramov Think I'm ignorant about some new JS features: what's up with "const { title } =" syntax on last line of second shot?1
дэн@dan_abramov·Apr 20, 2015@andy_matuschak ES6 destructuring. It's like const title = this.props.title. Const is to disallows reference mutation (sadly, not deep).1
Andy Matuschak@andy_matuschakReplying to @dan_abramov@dan_abramov Sweet, thanks. Wish we had value types.4:12 PM · Apr 20, 2015·Twitter for Mac
дэн@dan_abramov·Apr 20, 2015Replying to @andy_matuschak@andy_matuschak Totally. @sebmarkbage made a proposal for ES7: https://github.com/sebmarkbage/ecmascript-immutable-data-structures…112