Martin Fowler
Follow
Data Fetching Patterns in Single-Page Applications
Juntao Qiu is a thoughtful front-end
developer experienced with the React programming environment. He's
contributed a couple of useful articles to this site, describing helpful
patterns for front-end programming. In this article he describes patterns
for how single-page applications fetch data. This first installment
describes how asynchronous queries can be wrapped in a handler to provide
information about the state of the query.