V
V
vetsnakara2019-07-02 22:43:32
JavaScript
vetsnakara, 2019-07-02 22:43:32

Do ES6 modules slow down website loading speed?

If I use ES6 modules when developing with webpack, then everything is clear. Webpack collects all modules into one bundle, which is loaded onto the page with one request. If you use modules in the browser, then do I understand correctly that the modules will be loaded dynamically, thereby repeatedly (if there are many modules) increasing the number of requests to the server and thereby reducing the site loading speed?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question