angular/packages
Andrew Scott 7e89753eef fix(core): render hooks should not specifically run outside the Angular zone (#55399)
The timing of render hook execution is almost entirely identical to
`ngZone.onMicrotaskEmpty`. Developers working towards zoneless
compatibility will need to migrate `onMicrotaskEmpty` calls to use
`afterNextRender`/`afterRender` instead. This, however, would lead to
confusing issues if there are promises in the callbacks because
`onMicrotaskEmpty` emits inside the Angular zone while render hooks
execute outside today. This is problematic because it's not documented
and does not produce any notification or error message when async work
is done inside the hooks that requires change detection. Instead, change detection
simply does not run, and this behavior has proven to be surprising to
developers who are used to ZoneJS change detection behavior.

fixes #55299

PR Close #55399
2024-04-25 09:06:34 -07:00
..
animations Revert "refactor(core): Ensure DOM removal happens when no app views need refresh (#55132)" (#55524) 2024-04-24 16:35:57 -07:00
bazel refactor(core): Replay events from the event contract using the dispatcher. (#55467) 2024-04-23 16:08:36 -07:00
benchpress refactor: migrate bazel, benchpress, elements and misc to prettier formatting (#53995) 2024-01-22 09:07:15 +01:00
common refactor(common): Deprecate Local Data API functions (#54483) 2024-04-23 12:22:43 -07:00
compiler fix(core): resolve error for multiple component instances that use fallback content (#55478) 2024-04-25 09:04:01 -07:00
compiler-cli docs: improvements for API pages (#55388) 2024-04-19 06:30:34 -07:00
core fix(core): render hooks should not specifically run outside the Angular zone (#55399) 2024-04-25 09:06:34 -07:00
docs/di
elements refactor: migrate bazel, benchpress, elements and misc to prettier formatting (#53995) 2024-01-22 09:07:15 +01:00
examples refactor: migrate docs, examples, private, service worker and upgrade to prettier formatting (#54163) 2024-01-30 20:08:40 +00:00
forms refactor(forms): added control name in console errors (#55397) 2024-04-23 15:16:57 -07:00
language-service refactor: migrate language-service to prettier formatting (#55405) 2024-04-18 14:18:38 -07:00
localize refactor: migrate localize to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
misc/angular-in-memory-web-api docs: Use new Urls to drop the docs url mapper (#55043) 2024-04-09 12:23:09 -07:00
platform-browser Revert "refactor(core): Ensure DOM removal happens when no app views need refresh (#55132)" (#55524) 2024-04-24 16:35:57 -07:00
platform-browser-dynamic refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
platform-server fix(core): resolve error for multiple component instances that use fallback content (#55478) 2024-04-25 09:04:01 -07:00
private/testing refactor(core): properly type withBody and withHead testing helpers (#54801) 2024-03-11 08:59:55 -07:00
router fix(core): make ActivatedRoute inject correct instance inside @defer blocks (#55374) 2024-04-22 12:01:36 -07:00
service-worker fix(core): Angular should not ignore changes that happen outside the zone (#55102) 2024-04-16 17:27:04 -07:00
upgrade fix(core): Remove deprecated Testability methods (#53768) 2024-04-12 14:49:23 -07:00
zone.js build: lock file maintenance (#55343) 2024-04-23 13:37:56 -07:00
BUILD.bazel docs(docs-infra): Add missing API entries to ADEV (#54530) 2024-02-21 16:41:33 +00:00
circular-deps-test.conf.js
empty.ts
goog.d.ts
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md
system.d.ts
tsconfig-build.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
tsconfig-legacy-saucelabs.json
tsconfig-test.json
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json refactor(router): Update integration tests to cover navigation and history API (#53799) 2024-01-30 15:04:02 +00:00
tsec-exemption.json
types.d.ts

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT