
With 62157990554306fb76e1e254b31855f966ff65f2, we introduced a schematic for the Angular core package that automatically migrates unexplicit query definitions to the explicit query timing (static <-> dynamic). As the initial foundation was already big enough, it was planned to come up with a follow-up that handles asynchronous query usages properly. e.g. queries could be used in Promises, `setTimeout`, `setInterval`, `requestAnimationFrame` and more, but the schematic would incorrectly declare these queries as static. This commit ensures that we properly handle these micro/macro tasks and don't incorrectly consider queries as static. The declaration usage visitor should only check the synchronous control flow and completely ignore any statements within function like expressions which aren't explicitly executed in a synchronous way. e.g. IIFE's still work as the function expression is synchronously invoked. PR Close #29133
build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871)
build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871)
build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871)
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.
Description
Languages
TypeScript
86.3%
JavaScript
8.5%
HTML
1.8%
Starlark
1.7%
CSS
1%
Other
0.6%