Simple play icon Course
Skills Expanded

ng-conf '19: Use Decorator to Beat ngOnChanges - Decoupling ngOnChanges

by ng-conf

Use decorator to beat ngOnChanges – Decoupling ngOnChanges | Kern Zhao

What you'll learn

By using a TypeScript property decorator directly on a property of a component, it’s much easier/cleaner/more-readable to subscribe to property change than the traditional painful ngOnChanges. Details on: https://medium.com/p/19f3a5e051ef/edit

ng-conf is a three-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.

Follow us on twitter https://twitter.com/ngconf Official Website: https://www.ng-conf.org/

Table of contents

Use Decorator to Beat ngOnChanges - Decoupling ngOnChanges
17mins

About the author

ng-conf is the world’s largest conference devoted specifically to Angular.

Ready to upskill? Get started