by nobleach · 9y ago · 0 comments
Most of the React community has forged forward with ES6/ES2015, so learning that is definitely a part of the process.
var stateUpdate = {}
stateUpdate[event.target.name] = event.target.value;
this.setState=(stateUpdate);
I don't think there was anything necessarily wrong with his tone as he was addressing the tone of the original article.FWIW, this is supported in the newest Chrome as well.