What is a SPA?
To explain what a SPA is, we should first explain how we interact with the World Wide Web (WWW or W3). When we enter an address in a web browser, we receive a web page sent by a web server. In the most basic form, a website is just a collection of pages, mostly what we call “static pages”. Static in this context means that the same files in the server are sent without modification. This makes a website very fast and secure. However, a purely static site does not offer much interactivity with the end user. Sometimes this is referred to as Web 1.0. Server and browser scripting came in to solve this limitation and gave birth to multi-page applications (MPAs). Pages could now be either static or dynamically generated on the server, which in turn could also receive calls for new pages with additional data that processes them and returns a new page in response. These new pages “generated on the fly” are called dynamic and made it possible to have...