Data Fetching Patterns in Single-Page Applications
When a single-page application needs to fetch data from a remote source, it needs to do so while remaining responsive and providing feedback to the user during an often slow query.
This article was originally published on MartinFowler.com, you can read the article in this link https://martinfowler.com/articles/data-fetch-spa.html