Comment Comment by TheSisb2 This compiles poorly and has a performance cost, it turns out. Doing:constructor(props) { super(props); this.func = this.func.bind(this); }Is better if you care about performance. parent TheSisb2 9 years ago
constructor(props) { super(props); this.func = this.func.bind(this); }
Is better if you care about performance.