Lazy Loading Modules
Finally, we will get an introduction to the advanced technique of Lazy Loading Modules. The key concept of this practice is that, during the page load, the browser will only download and execute those modules that are required for the initial rendering of the page while the rest of the application modules are requested after the page is fully loaded and is required to respond to a user action.
As an example of this, we will use it to lazy load the
informationBox module of the Dashboard example that we saw in previous chapters, after the first click of the user on ...