mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously, effect() would handle errors differently depending on the effect type. Root effects had a try/catch that would execute them independently and report errors to `ErrorHandler`, while component effects would "crash" CD. This commit switches all effects to use the same error handling (errors always reach the CD error handler). An additional unrelated refactoring is thrown in which removes the `pendingTask` machinery from root effects, since they make `ApplicationRef` dirty and thus trigger the scheduler. PR Close #57952 |
||
|---|---|---|
| .. | ||
| global | ||
| primitives | ||
| reference-manifests | ||
| rxjs-interop | ||
| schematics | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||