angular/packages/core
Alex Rickabaugh 7f0b49d8c4 refactor(core): update effect error handling (#57952)
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
2024-10-15 13:02:10 -07:00
..
global refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
primitives refactor(core): introduce debugName optional arg to ReactiveNode (#57710) 2024-10-07 09:25:28 -07:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop feat(core): Promote takeUntilDestroyed to stable. (#58200) 2024-10-15 12:52:26 +00:00
schematics refactor(migrations): Port standalone migration to standalone by default (#58169) 2024-10-15 16:05:14 +00:00
src refactor(core): update effect error handling (#57952) 2024-10-15 13:02:10 -07:00
test refactor(core): update effect error handling (#57952) 2024-10-15 13:02:10 -07:00
testing refactor(core): Setup constant for standalone default value (#58175) 2024-10-14 16:01:41 +00:00
BUILD.bazel refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
index.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
package.json build: update zone.js peer dependency for core package to 0.15.0 (#57431) 2024-08-21 13:17:52 -07:00
PACKAGE.md
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00