Advanced Angular Component Patterns
Learn advanced Angular component patterns in this course. Discover how to encapsulate state, view, and logic decisions in components. Customize and override defaults to create reusable components. Explore techniques to make components configurable and adaptable. Gain insights into writing opinionated components that allow for flexibility when needed. Topics include exposing component state, creating compound components, communicating between components, refactoring state logic, overriding component UI, modifying user-provided UI, and exposing component logic using state reducers. Enhance your Angular development skills with this comprehensive course.
Components are all about encapsulating decisions. The perfect component makes good decisions for you without making you think about it. Of course, no one knows what decisions you’re going to want. To make components reusable, we set reasonable defaults, then allow you to override them when you don’t like the decisions made for you.
This course covers three broad categories of decisions that can be encapsulated in a component: state, view, and logic. You’ll learn to move an Angular component from completely static to very configurable using a variety of techniques.
The course takes some of the most popular components in web development and applies them to Angular. You’ll learn to write components that are opinionated about their core purpose, but allow parent components to overwrite secondary concerns when pain points require a more complex pattern.
Course Content
Course Overview: Advanced Angular Component Patterns
Expose an Angular Component’s State to the Parent Component
Write Compound Components with Angular’s ContentChild
Communicate Between Components Using Angular Dependency Injection
Refactor Angular Component State Logic into Directives
Override Component UI with an Angular TemplateRef
Modify User Provided UI with Angular Content Directives
Allow Users to Configure Angular Content Directives
Expose Angular Component Logic Using State Reducers
User Reviews
Be the first to review “Advanced Angular Component Patterns”
You must be logged in to post a review.
There are no reviews yet.