Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Just curious: are there tests proving this?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: