The Structure of a Component

Let's dissect a component into its main parts and discuss each of them in detail.

A component is made up of two main parts:

  • The @Component decorator
  • The component class.

Get hands-on with 1200+ tech skills courses.