Version 7.1.0
- Dependency updates.
- Using
cacheDirectory
option to speed upbabel-loader
by as much as 2x. See: https://github.com/babel/babel-loader#babel-loader-is-slow. - Using
babel-runtime
in place ofbabel-polyfill
. Instead of always bundling a heap of polyfills, Babel will now only polyfill the features that it comes across. It will also consolidate repetitive helpers. This significantly reduces the size of the JS bundle. See: https://babeljs.io/docs/plugins/transform-runtime. - Better example component JS:
- Always using an options object for constructors. Seperate parameters should be avoided; an object is much easier to understand and modify.
- JSDoc parameter type capitalization fixes.
- Demonstrating the
::
operator for binding this within the counter component constructor. See: https://babeljs.io/docs/plugins/transform-function-bind. - Misc. refactors and comment tweaks.