E019 - Component Inheritance

The Angular Plus Show - En podcast af ng-conf - Mandage

Kategorier:

This episode features Sani Yusuf, a Google Developer Expert and comedian (but not a dancer) who is currently located in London, England, but is originally from Nigeria. Sani teaches us about component inheritance in Angular. Join panelists Aaron Frost, Brian Love, Alyssa Nicoll, and Jennifer Wadella as we tackle the complexities, advantages, and disadvantages, of using class inheritance in Angular.

While you may be familiar with class-based inheritance in TypeScript, or potentially other object-oriented programming languages, it is often rare for Angular developers to leverage inheritance in their projects. Sani and the panel surface how Angular developers can leverage inheritance, abstractions, and composition for efficient strategies for solving challenges in our projects.

A key takeaway that Sani teaches us is that we should not be chasing after the use of inheritance in our Angular projects, rather, inheritance opportunities will announce themselves in your projects. When you find yourself duplicating code, or needing to manipulate data or behaviors in components, this could be a potential use case for abstraction or inheritance.

Finally, the panelists share some of their favorite streaming shows that they are loving when staying at home. Plus, as as an added bonus, Jennifer shares with us a recipe for gooey butter cake.

Visit the podcast's native language site