angular-cn/aio/content
Alex Rickabaugh 84dd2679a9 fix(core): require 'static' flag on queries in typings (#30639)
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
2019-05-24 16:55:00 -04:00
..
cli docs: add in-page nav, change title to match left nav better (#30093) 2019-04-29 13:23:14 -07:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
examples fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
guide docs: drop coding conventions from style guide (#30334) 2019-05-24 13:46:11 -04:00
images docs: add Michael Hladky to GDE resources (#30596) 2019-05-24 13:40:33 -04:00
marketing docs: add Michael Hladky to GDE resources (#30596) 2019-05-24 13:40:33 -04:00
start docs: update simple stackblitz deployment instructions (#30465) 2019-05-22 16:29:44 -07:00
tutorial docs: move instructions to see changes after the error is fixed in the tutorial (#30529) 2019-05-21 09:03:49 -07:00
file-not-found.md fix(docs-infra): do not create an anchor for the `file-not-found` header (#27250) 2018-12-05 13:26:26 -08:00
license.md build: bump year (#27880) 2019-01-11 11:15:59 -08:00
navigation.json docs: add new cli builder api guide (#29964) 2019-05-22 16:19:54 -07:00