Angular 8 Interview Questions and Answers
Question: What is the purpose of the async pipe in Angular?Answer: The async pipe in Angular is used to subscribe to an Observable or Promise in the template and automatically update the view when the data is received. It simplifies the management of asynchronous data in the component's template.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: