Aug 23, 2017 · 1 min read
Ah, that’s a separate issue. You’re referring to the concern about binding property to this. And yes, for that issue, you can indeed bind in the constructor. I wrote a post approaches for binding to this in React here.
This post is about a different issue — how to avoid bind when you’re dealing with an array. Note that in my example you need to bind each separate delete button to a specific user ID, so binding in the constructor wouldn’t resolve that issue. Hence, this post, which shows how to solve the problem of needing a bind for each element in an array.
