Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
rayshan
· 9y ago · 0 comments
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.
Comments
No comments yet.
Better HN