Welcome to my curse Angular components like a PRO.
Fasten your seatbelt, because
You're going to start an amazing trip to the depths of the Angular
that is going to change completely your perspective on the components and will open your mind to everything
you can do with them. In the first step.
Basic level, you're gonna see
what is the component decorator
How to build a new component How to provide styles with the CSS pseudo-class :host
You will also see the input decorator and property bindings. The output decorator, event emitters
and how to do event bindings. You will see the component lifecycles. And finally, you will learn how to use
template reference variables. On the second step, Intermediate level:
You will learn how to structure your components using containers and presentational components.
You'll see how to move the business logic from components to services in order to use single responsibility
principle.
You will learn the difference between providers at the module level and at the component level. You will
feel comfortable between observables, and you will learn how to emit events from services using Subjects
and BehaviourSubjects.
You'll also learn how the use async pipes you will understand the different strategies on change
detection: onDefault and onPush.
You will learn what is the shadowDOM and what are your options to encapsulate the styles of the component.
And finally you will learn a lot of good practices. But our final
destination is still better. In the advanced level.
You will learn how to project content with ngContent directive how to move this content to specific spaces
of your component using projections slots. How to access your parent component from the child, or the
other way round accessing your child with viewChild and viewChildren decorators. How to access
projected content with contentChild and contentChildren decorators. You will learn what are
QueryLists. You will learn
How to use elementRef and nativeElement.
And you will learn how to achieve a platform agnostic application so it can work both inside servers
and inside web workers
And finally we're going to create dynamic components. Don't you feel excited?? Get ready, because we are going
to start.