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:
Brad Green 2019-04-12 16:14:45 -07:00 committed by Kara Erickson
parent 7d6f4885b2
commit 7ec8806dc5
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ Learn more: See the [Template Syntax guide](guide/template-syntax "Template Synt
{@a components} {@a components}
## Components ## Components
*Components* are the building blocks of Angular apps. *Components* define areas of responsibility in your UI that let you reuse these sets of UI functionality.
You've already been working with the product list component. You've already built one with the product list component.
A component is comprised of three things: 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. * **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.