angular/packages/common
Andrew Kushnir 7f6f5f95ea refactor(core): use ApplicationRef.whenStable instead of a custom util function (#58834)
This commit removes a custom `whenStable` util in favor of standard `ApplicationRef.whenStable` API.

There is also an important different between the custom `whenStable` function and `ApplicationRef.whenStable` implementation: the `whenStable` was caching the "stable" promise on per-ApplicationRef basis, which resulted in unexpected behavior with zoneless, when some code ended up getting a stale resolved promise, when an application was not stable yet, this causing order of operations issues. This commit also has an extra test that covers that case.

PR Close #58834
2024-11-25 15:25:10 +00:00
..
http refactor(core): use ApplicationRef.whenStable instead of a custom util function (#58834) 2024-11-25 15:25:10 +00:00
locales refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
src refactor(core): use ApplicationRef.whenStable instead of a custom util function (#58834) 2024-11-25 15:25:10 +00:00
test feat(common): expose component instance in NgComponentOutlet (#58698) 2024-11-20 08:08:21 -08:00
testing refactor: cleanup initializers that use ctor params (#58349) 2024-10-24 16:38:50 -07:00
upgrade refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
index.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
package.json build: update Node.js to match Angular CLI engines (#56187) 2024-06-03 18:00:46 +00:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00