angular/packages/core/test/render3
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
..
i18n refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
instructions refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
interfaces refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ivy refactor(compiler): dynamic default for the partial compiler. (#58169) 2024-10-15 16:05:14 +00:00
jit refactor(compiler): dynamic default for the partial compiler. (#58169) 2024-10-15 16:05:14 +00:00
styling_next refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
util refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel fix(core): untrack various core operations (#54614) 2024-02-29 11:38:54 +01:00
change_detection_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
component_ref_spec.ts refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
deps_tracker_spec.ts refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
di_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02: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: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
i18n_debug_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
imported_renderer2.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
instructions_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
integration_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
is_shape_of.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
is_shape_of_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
jit_environment_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
list_reconciliation_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
load_domino.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
matchers.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
matchers_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
metadata_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
microtask_effect_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
multi_map_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_selector_matcher_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
providers_helper.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
providers_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
query_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
reactive_safety_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
reactivity_spec.ts refactor(core): update effect error handling (#57952) 2024-10-15 13:02:10 -07:00
testing_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
utils.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
view_fixture.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
view_utils_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00