Syntax changes are fun, but how can you best use them? Don’t read contrived foo-bar examples. Open source code is a rich source of emerging ES6 patterns and best practices. How is React using the Map operator? How does Khan Academy leverage generators? How does Redux use. . .pretty much everything else? Spread operators. Object destructuring. Template Literals. Arrow Functions. It’s all out there. The best part of learning through open source is that when new syntax is announced you’ll have a backlog of projects that will likely try it out increasing your personal catalog of patterns.
By |2017-01-14T09:11:07-05:00January 14th, 2017|