Data and Page Content Refresh patterns in Angular
Angular Logo (CC-BY 4.0 by Angular Team press Kit: https://angular.io/presskit). Refresh logo licensed in public domain (via Wikimedia Commons)Part of why I recommend using RxJS Observables all the way through in Angular
TypeScript code, and
only unpacking them at the closest point to where the UI is declared (often using the | async pipe),
is because it makes other transformations on an Observable available and
convenient. Two such examples include retry and refresh logic.
Two common reasons to reload/refresh data being displayed by a component include:
Read more →
Syrian girls, carrying school bags provided by UNICEF, walk past the rubble of destroyed buildings on their way home from school on March 7 in al-Shaar neighborhood, in the rebel-held side of the northern Syrian city of Aleppo. by Jordi Bernabeu Farrús via Flickr