PHP 7.3 reaches end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in April 2022. You may want to consider planning your upgrade now to Adobe Commerce 2.4.x and PHP 7.4.x to help maintain PCI compliance.

JavaScript

By default, the Magento application uses the RequireJS file and module loader to optimize the time of loading pages with included JavaScript files, and to manage dependencies of JavaScript resources.

For information about how JS resources are located and configured, see Configure JavaScript.

What’s in this chapter

Topics of this chapter describe the following:

Terms used

Term Description
JavaScript component (JS component) Any separate .js file decorated as AMD module.
Ui component JS component located in the Magento_Ui module, in the app/code/Magento/Ui/view directory, or JS component that extends files from this module.
jQuery UI widget A JS component/widget provided by jQuery UI library used in Magento.
jQuery widget Custom widget created using jQuery UI Widget Factory and decorated as AMD module. Many Magento JS components are jQuery widget.