Yes, you’re right. This con applies to a traditional web site where the view is rendered server side with some server side framework. For a single page application created with Angular 2, React, Vue or any other front end frameworks there would be mostly a single entry JS file. And all necessary components would be imported using ES6 modules (import) or CommonJS (require)

Writing JS, TS, Vue, #C, and fostering teams to release customer value n-times a day. Creator of and writer on

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store