Engineering Scalable Angular Components| Alex Rickabaugh| EnterpriseNG 2021

preview_player
Показать описание

When building components meant to be used in different contexts, adding features can require adding complexity and code size. If the added features aren’t utilized by all consumers, some consumers pay the cost of supporting features they aren’t using. This is something library authors want to avoid.

Additionally, single components with lots of features can become quite unwieldy to develop and test. The authors of such components must weigh the cost of adding new features against the benefits they bring.

My talk gives architectural advice and tips/tricks for designing such large components in ways where the code for various features is decoupled, so consumers that don’t use specific features don’t pay for them in their bundles. Adopting these patterns may also increase maintainability in the long run.
ng-conf is a multi-day Angular conference focused on delivering the highest quality training in the Angular JavaScript framework. 1500+ developers from across the globe converge on Salt Lake City, UT every year to attend talks and workshops by the Angular team and community experts.

Рекомендации по теме