mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit changes the approach to the reactive node representing query results: instead of creating a custom node type we can use a computed - the main change to get there is representing dirty change notification as a signal (a counter updated every time a query changes its dirty status). This change is dictated by simplification (we can avoid creation of a custom signal type) as well as fixes to the multiple issues not covered by the initial implementation: - assuring referential stability of results (ex.: the same array instance returned from child queries until results change); - per-view results collection to avoid a situation where accessing query results during view creation would return partial / inconsistent results; - proper refresh of query results for both live and non-connected consumers. All the above cases are covered by the additional tests in this commit. PR Close #54103 |
||
|---|---|---|
| .. | ||
| container.ts | ||
| context.ts | ||
| definition.ts | ||
| document.ts | ||
| i18n.ts | ||
| injector.ts | ||
| lview_tracking.ts | ||
| node.ts | ||
| projection.ts | ||
| public_definitions.ts | ||
| query.ts | ||
| renderer.ts | ||
| renderer_dom.ts | ||
| sanitization.ts | ||
| styling.ts | ||
| type_checks.ts | ||
| view.ts | ||