Skip to content

Version 7.1.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 25 Sep 04:17
· 34 commits to master since this release
  • Dependency updates.
  • Using cacheDirectory option to speed up babel-loader by as much as 2x. See: https://github.com/babel/babel-loader#babel-loader-is-slow.
  • Using babel-runtime in place of babel-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.