Nowadays, with high-speed Internet standards, there is no need to be stuck on an approach where every action made on the page like clicks on various buttons leads to one more web page downloaded from a server.
Single page application (or SPA) is one of the new website trends that helps us avoid seamless communication with the server and show better page performance and provide a high data protection level.
Why developers of 2020 prefer the SPA approach? SPAs have more chances to hold users’ attention as they seem to be fast operating — SPAs provide users with instant feedback (compared to regular sites with their white screens before the page will be completely downloaded). Single-page sites also consume less and could work without server-side code at all (API technology).