Do pages in Single-page application need to be loaded on demand?

  node.js, question

Do pages in Single-page application need to be loaded on demand? But then it is no different from non-Single-page application?

Single-page application does not have to be loaded on demand, most of which is to start rendering after all the code has been loaded. If you need to load on demand, you can also load on demand with webpack, etc.

Loading on Demand in Single-page application is not the same as traditional non-Single-page application

Non-Single-page application is refreshed every time it is added to the webpage

The code loaded by Single-page application is asynchronous and the user experience is good.