Magento 2 applications use RequirJS file and module loader to optimize the loading time of your Magento 2 application including JavaScript files and to manage dependencies of JavaScript resources.

Read Complete Article Here: http://newsgento.com/how-to-use-cust...-in-magento-2/

View more threads in the same category: