JS Overview
The Javascript in web base generally consists of Class-based ES6 modules that are scoped to component and page levels.
Cross-browser compatible Modern Javascript#
Cross-browser safe ES6 compatibility is made possible through the use of Babel and auto-polyfill injection for missing ES6 features.
Module Loading#
Webpack is used to facilitate module loading. You are able to install JS packages from NPM, and import them using standard ES6 import syntax at the top of any file, i.e: