angular/packages/core/src
Kristiyan Kostadinov 8ae84be3df fix(core): avoid slow stringification when checking for duplicates in dev mode (#58521)
When we check for duplicates in dev mode, we end up stringifying an `LView` even if we don't report an error. This can be expensive in large views.

These changes work around the issue by only generating the string when we have an error to throw.

Fixes #58509.

PR Close #58521
2024-11-06 13:02:37 +01:00
..
application refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
authoring feat(core): introduce debugName optional arg to framework signal functions (#57073) 2024-10-22 11:26:37 -07:00
change_detection refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
compiler refactor(compiler): dynamic default for the partial compiler. (#58169) 2024-10-15 16:05:14 +00:00
debug refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
defer refactor(core): tree-shake defer block registry (#58424) 2024-10-31 18:12:03 +01:00
di docs: fix errata in provideEnvironmentInitializer API docs (#58355) 2024-10-28 12:29:53 -07:00
hydration refactor(core): tree-shake defer block registry (#58424) 2024-10-31 18:12:03 +01:00
i18n refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
interface refactor(core): drop the Mutable utility type. (#58124) 2024-10-10 10:47:50 +00:00
internal refactor(core): account for anonymous classes in internal utility (#58392) 2024-10-28 12:38:03 -07:00
linker build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:06 -07:00
metadata refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform feat(core): add syntactic sugar for initializers (#53152) 2024-10-22 09:38:18 -07:00
reflection refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
render refactor(core): support external runtime styles via a component feature (#57922) 2024-09-30 13:25:12 -07:00
render3 fix(core): avoid slow stringification when checking for duplicates in dev mode (#58521) 2024-11-06 13:02:37 +01:00
resource feat(core): experimental resource() API for async dependencies (#58255) 2024-10-21 13:25:58 -07:00
sanitization refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
testability refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
util refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
view refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
authoring.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
cached_injector_service.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
change_detection.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
console.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core.externs.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core.ts refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
core_private_export.ts refactor(core): add incremental hydration infrastructure (#58193) 2024-10-21 12:05:06 -07:00
core_reactivity_export.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core_reactivity_export_internal.ts feat(core): introduce the reactive linkedSignal (#58189) 2024-10-18 08:12:51 +00:00
core_render3_private_export.ts refactor(core): clean up standalone flag (#58478) 2024-11-06 07:01:25 +01:00
di.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
error_details_base_url.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
error_handler.ts refactor(core): removing error related dead code. (#58272) 2024-10-22 09:42:47 -07:00
errors.ts refactor(core): tree-shake defer block registry (#58424) 2024-10-31 18:12:03 +01:00
event_delegation_utils.ts refactor(core): Eliminate recursion in incremental hydration (#58419) 2024-10-31 11:22:58 +01:00
event_emitter.ts refactor(core): test EventEmitter completion on destroy with outputToObservable (#58239) 2024-10-17 11:37:57 +00:00
image_performance_warning.ts fix(common): prevent warning about oversize image twice (#58021) 2024-10-02 11:46:17 +00:00
linker.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
metadata.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
pending_tasks.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
profiler.ts refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
r3_symbols.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
render.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
transfer_state.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
version.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00