News for hackers. Stuff that matters.
Re:Performance Engineering with React, Part 1 by jsh7 on Thursday February 04, 2016 @09:05PM (#11038904)
Try this: `class extends Component { foo = () => { console.log('this was bound at construction time'); }; render() { return <SubComponent foo={this.foo} />; } }` This only works if you have stage-1 class properties enabled though.

There are no comments on this comment yet.