Skip to content

Instantly share code, notes, and snippets.

View chidumennamdi's full-sized avatar

chidumennamdi

View GitHub Profile

What you always wanted to know about Change Detection, OnPush Change Detection Strategy and Default Change Detection Strategy

View and Tree of Views

An Angular application is a tree of Components. Components are the views Angular renders, so it can be put in another way, Angular is a tree of views.

A View is a fundamental building block of the application UI. It is the smallest grouping of Elements which are created and destroyed together.

An Angular Component is a single View. A component is composed of three parts: