It was suggest in last workshop to change our components to use ES7 class level arrow functions to eliminate all the binding. To essentially autobind this for us.
Sounds like a good idea to me, even as an experimental ES7 proposal, it would help eliminate a bunch of cruft from our workshop lab files.
It was suggest in last workshop to change our components to use ES7 class level arrow functions to eliminate all the binding. To essentially autobind
this
for us.Sounds like a good idea to me, even as an experimental ES7 proposal, it would help eliminate a bunch of cruft from our workshop lab files.
http://blog.andrewray.me/react-es6-autobinding-and-createclass/