Skip to content

Implementing on push change detection

Pre-release
Pre-release
Compare
Choose a tag to compare
@mpavlinov mpavlinov released this 22 Feb 14:01
· 152 commits to master since this release
dc42f8d

Two-way data binding now works with change detection strategy: OnPush. This change introduces performance improvements as well as some breaking changes.

New functionalities

  • Exposing markForCheck API for triggering change detection manually.

Breaking changes

  • options.dataSource setting now does not automatically enable two-way data binding. For two-way data binding you should use [dataSource]="<data_source>" explicitly in the template.