angular/packages/core
Payam Valadkhan e3532291c7 refactor(core): print the errors related to computing component dependencies to the console in local compilation mode (#51824)
Certain tools in g3 which dynamically bootstrap a component (e.g., custom routers) simply swallow the exception coming from bootstrapping the component and show an empty outlet. Such cases are very difficult to debug as the dev has no clue why the component was not rendered. As bad as this pattern is, fixing all such tools for a better error handling is beyond the scope of our effort. Instead, in this change we print the error messages coming from calculating component dependencies (part of component rendering) to the console for a better visibility into the error. This change only affects local compilation where the component dependencies are calculated in runtime. This change can potentially shed light into many failures of local compilation in g3.

PR Close #51824
2023-09-20 12:25:40 +02:00
..
global build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
rxjs-interop fix(core): avoid duplicated code between entry-points (primary, testing, rxjs-interop) (#51500) 2023-08-29 17:55:34 +00:00
schematics refactor(compiler): implement conditional block AST (#51299) 2023-08-10 13:48:55 -07:00
src refactor(core): print the errors related to computing component dependencies to the console in local compilation mode (#51824) 2023-09-20 12:25:40 +02:00
test refactor(core): include injector info for standalone components in local compilation mode (#51819) 2023-09-20 12:24:54 +02:00
testing refactor(core): Add defer block testing fixture (#51698) 2023-09-13 10:47:04 -07:00
BUILD.bazel build(core): introduce @angular/core/rxjs-interop entrypoint (#49154) 2023-03-30 09:44:38 -07:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json feat(core): add support for zone.js 0.14.0 (#51774) 2023-09-18 11:56:17 +02: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