1 min readNov 20, 2017
Kent C. Dodds What workaround do your recommend for the setState
example? I don’t think that can be solved in exactly the same way as the Person
example, since React components need to extend React.Component
.
I think the common solution is to bind methods in the constructor, which would work equally well for the Person
example.