by TheSisb2 · 9y ago · 0 comments
constructor(props) { super(props); this.func = this.func.bind(this); }
Is better if you care about performance.