Composing Angular Components with Typescript Mixins

added by JavaScript Kicks
11/13/2019 8:37:58 AM

335 Views

Learn how to maximize reusability in your Angular components by using composition instead of inheritance This is a follow-up from my previous article about Component Composition with Angular where I listed 3 ways of composing Angular components: Class Inheritance Class Mixins Component Composition TLDR; my favorite way is to compose components in small units and use Inputs and Outputs to communicate between components.


0 comments