angular/packages/core/test/render3
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
..
i18n fix(core): take skip hydration flag into account while hydrating i18n blocks (#57299) 2024-08-09 08:07:49 -07:00
instructions refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
interfaces refactor(core): integrate let instructions into the runtime (#56527) 2024-06-26 08:48:31 -07:00
ivy refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
jit fix(compiler): JIT mode incorrectly interpreting host directive configuration in partial compilation (#57002) 2024-07-16 08:37:26 -07:00
styling_next refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
util refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
BUILD.bazel fix(core): untrack various core operations (#54614) 2024-02-29 11:38:54 +01:00
change_detection_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
component_ref_spec.ts feat(core): expose signal input metadata in ComponentMirror (#56402) 2024-06-13 10:12:06 -07:00
deps_tracker_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
di_spec.ts refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
es2015-tsconfig.json fix(core): destroy hooks not set up for useClass provider using forwardRef (#44281) 2021-11-30 11:56:05 -05:00
global_utils_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
i18n_debug_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
imported_renderer2.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
instructions_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
integration_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
is_shape_of.ts fix(core): take skip hydration flag into account while hydrating i18n blocks (#57299) 2024-08-09 08:07:49 -07:00
is_shape_of_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
jit_environment_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
list_reconciliation_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
load_domino.ts fix(platform-server): Do not delete global Event (#53659) 2024-01-04 12:51:22 -08:00
matchers.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
matchers_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
metadata_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
multi_map_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
node_selector_matcher_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
providers_helper.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
providers_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
query_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
reactive_safety_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
reactivity_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
testing_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
utils.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
view_fixture.ts refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
view_utils_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00