angular/packages/core
Alex Rickabaugh 6059ca8f1f refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504)
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

PR Close #57504
2024-08-23 12:48:01 -07:00
..
global docs(docs-infra): Add missing API entries to ADEV (#54530) 2024-02-21 16:41:33 +00:00
primitives refactor(core): Call stopPropagation and preventDefault unconditionally within the patched methods. (#57354) 2024-08-13 12:09:57 -07:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop fix(core): tree shake dev mode error message (#57035) 2024-07-22 10:49:18 -07:00
schematics refactor(migrations): add support for simpler variant of tsurge migration (#57484) 2024-08-23 12:01:59 +00:00
src refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
test refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
testing feat(core): Add whenStable helper on ApplicationRef (#57190) 2024-08-06 21:28:16 +00:00
BUILD.bazel refactor(docs-infra): migrate api-gen from dev-infra into the repo (#57241) 2024-08-05 17:06:29 +00:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json build: update zone.js version to 0.14.10 instead of 0.15 (#57266) 2024-08-05 18:15:41 +00:00
PACKAGE.md
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00