angular/packages/core
Andrew Scott 760e284428 Revert "fix(core): render hooks should not specifically run outside the Angular zone (#55399)" (#55624)
This reverts commit 7e89753eef.

Running render hooks inside the zone is specifically problematic for
`afterRender` hooks. If the callback has async task, it would cause an
infinite change detection. In addition, updating state in render hooks
is generally discourages and certainly should update state in a way that
notifies Angular of the change (either via signal or with `markForCheck`) rather
than relying on ZoneJS to pick it up (which would only work if the
change is done inside an async task).

PR Close #55624
2024-05-02 11:00:34 -07:00
..
global docs(docs-infra): Add missing API entries to ADEV (#54530) 2024-02-21 16:41:33 +00:00
primitives/signals docs(core): add missing space (#55287) 2024-04-11 17:25:35 +02:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop docs(core): fix toSignal docs (#54964) 2024-03-28 13:06:45 -07:00
schematics fix(migrations): avoid conflicts with some greek letters in control flow migration (#55113) 2024-03-29 13:10:55 -07:00
src Revert "fix(core): render hooks should not specifically run outside the Angular zone (#55399)" (#55624) 2024-05-02 11:00:34 -07:00
test fix(core): DeferBlockFixture.render should not wait for stability (#55271) 2024-04-23 15:12:43 -07:00
testing fix(core): DeferBlockFixture.render should not wait for stability (#55271) 2024-04-23 15:12:43 -07:00
BUILD.bazel test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01: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 node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00