docs: explicitly state purpose of components (#29879)
Current description is vague. I'd love to see this doc explicitly state that components are for reusable sets of UI features instead. PR Close #29879
This commit is contained in:
parent
7d6f4885b2
commit
7ec8806dc5
|
@ -149,8 +149,8 @@ Learn more: See the [Template Syntax guide](guide/template-syntax "Template Synt
|
|||
{@a components}
|
||||
## Components
|
||||
|
||||
*Components* are the building blocks of Angular apps.
|
||||
You've already been working with the product list component.
|
||||
*Components* define areas of responsibility in your UI that let you reuse these sets of UI functionality.
|
||||
You've already built one with the product list component.
|
||||
|
||||
A component is comprised of three things:
|
||||
* **A component class,** which handles data and functionality. In the previous section, the product data and the `share()` method were defined for you in the component class.
|
||||
|
|
Loading…
Reference in New Issue