mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
eae8f7e30b
The default change detection strategy is now OnPush. BREAKING CHANGE: Component with undefined `changeDetection` property are now `OnPush` by default. Specify `changeDetection: ChangeDetectionStrategy.Eager` to keep the previous behavior.
How to serve the examples
All playground examples are built and served with Bazel. Below is an example that demonstrates how a specific example can be built and served with Bazel:
# e.g. src/zippy_component
pnpm bazel run modules/playground/src/zippy_component:devserver