angular/packages/core/src
Alex Rickabaugh b80af11bbf refactor(core): restructure AfterRenderManager to connect related phases (#57453)
The `afterRender` infrastructure was first implemented around the idea of
independent, singular hooks. It was later updated to support a spec of
multiple hooks that pass values from one to another as they execute, but the
implementation still worked in terms of singular hooks under the hood. This
creates a number of maintenance issues, and a few bugs. For example, when
one hook fails, further hooks in the pipeline should no longer execute, but
this was hard to ensure under the old design.

This refactoring restructures `afterRender` infrastructure significantly to
introduce the concept of a "sequence", a collection of hooks of different
phases that execute together. Overall, the implementation is simplified
while making it more resilient to issues and future use cases, such as the
upcoming `afterRenderEffect`.

As part of this refactoring, the `internalAfterNextRender` concept is
removed, as well as the unused `queueStateUpdate` concept which used it.

PR Close #57453
2024-08-23 10:15:19 -07:00
..
application refactor(core): restructure AfterRenderManager to connect related phases (#57453) 2024-08-23 10:15:19 -07:00
authoring docs(docs-infra): fix marked rendering (#57338) 2024-08-12 11:19:51 -07:00
change_detection refactor(core): restructure AfterRenderManager to connect related phases (#57453) 2024-08-23 10:15:19 -07:00
compiler refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
debug refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
defer refactor(core): restructure AfterRenderManager to connect related phases (#57453) 2024-08-23 10:15:19 -07:00
di refactor(core): integrate let instructions into the runtime (#56527) 2024-06-26 08:48:31 -07:00
event_dispatch refactor(core): Add experimental support to have one event contract when there are multiple apps on the page. (#57355) 2024-08-13 12:10:34 -07:00
hydration fix(core): handle hydration of components that project content conditionally (#57383) 2024-08-15 11:22:04 -04:00
i18n refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
interface refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
linker docs(docs-infra): move link tag for correct view (#57395) 2024-08-15 15:51:52 -04:00
metadata refactor(core): deprecate @Component.interpolation (#55778) 2024-05-14 11:48:12 -07:00
platform fix(core): Allow zoneless scheduler to run inside fakeAsync (#56932) 2024-08-15 12:32:24 -04:00
reflection refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
render refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
render3 refactor(core): restructure AfterRenderManager to connect related phases (#57453) 2024-08-23 10:15:19 -07:00
sanitization refactor(core): replace usages of removeChild (#57203) 2024-08-07 16:46:09 +00:00
testability refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
util refactor(core): Update callback schedulers to cancel pending timers (#57186) 2024-07-30 18:05:09 +00:00
view refactor: remove unnecessary file (#49042) 2023-02-17 11:08:33 -08:00
zone fix(core): Allow zoneless scheduler to run inside fakeAsync (#56932) 2024-08-15 12:32:24 -04:00
authoring.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
cached_injector_service.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
change_detection.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
console.ts refactor(core): make platform core providers tree-shakable (#45506) 2022-04-12 22:28:23 +00:00
core.externs.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
core.ts refactor(core): restructure AfterRenderManager to connect related phases (#57453) 2024-08-23 10:15:19 -07:00
core_private_export.ts refactor(core): restructure AfterRenderManager to connect related phases (#57453) 2024-08-23 10:15:19 -07:00
core_reactivity_export.ts feat(core): add Angular Signals to the public API (#49150) 2023-02-22 11:27:21 -08:00
core_reactivity_export_internal.ts refactor(core): clean up clang comments and workarounds (#55750) 2024-05-13 11:10:36 -07:00
core_render3_private_export.ts refactor(core): restructure AfterRenderManager to connect related phases (#57453) 2024-08-23 10:15:19 -07:00
di.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
error_details_base_url.ts fix(core): link errors to ADEV (#55554) (#56038) 2024-05-28 12:50:53 +02:00
error_handler.ts fix(core): errors during ApplicationRef.tick should be rethrown for zoneless tests (#56993) 2024-07-29 13:49:00 -07:00
errors.ts refactor(core): integrate let instructions into the runtime (#56527) 2024-06-26 08:48:31 -07:00
event_delegation_utils.ts fix(core): Account for addEventListener to be passed a Window or Document. (#57282) 2024-08-08 08:32:11 -07:00
event_emitter.ts refactor(core): inject PendingTasks as optional in EventEmitter class (#56411) 2024-06-12 13:10:40 -07:00
image_performance_warning.ts fix(core): Do not run image performance warning checks on server (#57234) 2024-08-02 15:53:29 +00:00
linker.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
metadata.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
pending_tasks.ts fix(core): async EventEmitter should contribute to app stability (#56308) 2024-06-11 15:10:21 -07:00
r3_symbols.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
render.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
transfer_state.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
version.ts fix(core): avoid repeated work when parsing version (#53598) 2023-12-18 16:26:36 +00:00
zone.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00