When requesting a queries instance for a node, it was previously decided whether it needs to be cloned if the node was not already marked as hosting a query. This check is in place to have only a single queries instance per node. The issue with this approach is that no clone is created for subsequent instantiations of a component, as the TNode is already marked as hosting a query during first template pass, whereas the cloning of queries should be independent of first template pass. To overcome this issue, the queries are assigned an owner TNode such that it can reliably be determined if a clone needs to be created. PR Close #27892
Angular
Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%