Use Decorator to Beat ngOnChanges - Decoupling ngOnChanges
Offered By: ng-conf via YouTube
Course Description
Overview
Discover a powerful technique to simplify property change detection in Angular components during this 18-minute ng-conf talk. Learn how to leverage TypeScript property decorators as an alternative to the traditional ngOnChanges method, resulting in cleaner, more readable code. Explore the implementation of a custom content decorator, understand its advantages over getters and setters, and gain insights into decoupling ngOnChanges for improved component design. Delve into practical examples and best practices for subscribing to property changes efficiently in Angular applications.
Syllabus
Intro
ngOnChanges
Getter and Setter
Content decorator
Additional notes
Taught by
ng-conf
Related Courses
Single Page Web Applications with AngularJSJohns Hopkins University via Coursera Front-End JavaScript Frameworks: AngularJS
The Hong Kong University of Science and Technology via Coursera Front End Frameworks
Google via Udacity Developing Dynamic Web Applications Using Angular
Microsoft via edX AngularJS: Advanced Framework Techniques
Microsoft via edX