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

Bind is less performant, because bind creates a new function with new context. At the framework level, bind is avoided at all costs. @wiredearp's approach is correct, because it only adds a single event listener, everything else is conditional.


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

Search: