Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
_m8fo
· 9y ago · 0 comments
Is it a poor pattern to use #bind a lot instead of this or that? I tend to put most of the code in procedures like functions and bind it to whatever context I need, if not the regular
this
.
Comments
[–]
OSButler
9y ago
If you're using React and you're not using arrow functions, then it's very common to see bind() references.