X Tutup
Skip to content

Commit 5ebeaf7

Browse files
committed
feat(query): implement query update mechanism based on views.
Instead of working with finer grained element injectors, queries now iterate through the views as static units of modification of the application structure. Views already contain element injectors in the correct depth-first preorder. This allows us to remove children linked lists on element injectors and a lot of book keeping that is already present at the view level. Queries are recalculated using the afterContentChecked and afterViewChecked hooks, only during init and after a view container has changed. BREAKING CHANGE: ViewQuery no longer supports the descendants flag. It queries the whole component view by default. Closes angular#3973
1 parent 9d42b52 commit 5ebeaf7

File tree

7 files changed

+245
-590
lines changed

7 files changed

+245
-590
lines changed

0 commit comments

Comments
 (0)
X Tutup