Question

As I understand, SPA means

  1. Move maximum of logic to the client. Means client only receive JSON objects from the server by requesting them and nothing else
  2. Push all our html to as single page
  3. Maybe something else?

Questions

  1. What are reasons/benfits to write Single Page Application?
  2. Especially, what are the benefits to push all our html to a single page?
Was it helpful?

Solution

One of the big differences with SPAs is responsiveness. They just appear more responsive to the user because there's no gaps while a page has to load. Users can also be given direct feedback while they're waiting for changes (like spinning icons or progress bars). This kind of feedback is well received by users and decreases the perception of wait-time. Users can also be interacting with the app in multiple ways, all without having to wait for a new page load for each interaction.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top