mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit makes the static flag on @ViewChild and @ContentChild required. BREAKING CHANGE: In Angular version 8, it's required that all @ViewChild and @ContentChild queries have a 'static' flag specifying whether the query is 'static' or 'dynamic'. The compiler previously sorted queries automatically, but in 8.0 developers are required to explicitly specify which behavior is wanted. This is a temporary requirement as part of a migration; see https://angular.io/guide/static-query-migration for more details. @ViewChildren and @ContentChildren queries are always dynamic, and so are unaffected. PR Close #30639 |
||
|---|---|---|
| .. | ||
| after-content.component.ts | ||
| after-view.component.ts | ||
| app.component.html | ||
| app.component.ts | ||
| app.module.ts | ||
| counter.component.ts | ||
| do-check-parent.component.html | ||
| do-check.component.ts | ||
| logger.service.ts | ||
| on-changes-parent.component.html | ||
| on-changes.component.ts | ||
| peek-a-boo-parent.component.ts | ||
| peek-a-boo.component.ts | ||
| spy.component.html | ||
| spy.component.ts | ||
| spy.directive.ts | ||