angular/packages/core/test/bundling
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
..
animation_world refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
animations refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
animations-standalone refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
core_all refactor(core): EventEmitter implements OutputRef. (#54650) 2024-03-06 12:34:39 +01:00
cyclic_import refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
defer refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
forms_reactive refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
forms_template_driven refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
hello_world refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
hello_world_i18n refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
hydration refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
image-directive refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
injection refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
router refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
standalone_bootstrap refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
todo refactor(core): restructure AfterRenderManager to connect related phases (#57453) (#57504) 2024-08-23 12:48:01 -07:00
todo_i18n refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
README.md fix(core): remove individual commands for updating gold files (#45198) 2022-03-01 19:16:53 +00:00

Bundle

js_expected_symbol_test

This folder contains tests which assert that most of the code is tree shaken away. This is asserted by keeping gold files of all symbols which are expected to be retained. When doing renaming it is often necessary to update the gold files; to do so use these scripts:

yarn run symbol-extractor:check
yarn run symbol-extractor:update