angular/packages/core
arturovt 80dbd74ae8 refactor(core): wrap operationsCounter calls with ngDevMode checks
Wrap operationsCounter method calls (recordCreate, recordDestroy, reset)
with ngDevMode guards to ensure they are tree-shaken in production builds.

This aligns with the existing pattern where operationsCounter is only
initialized in development mode, and eliminates unnecessary method call
overhead in production.

The optional chaining (?.) is retained as TypeScript doesn't narrow types
based on ngDevMode checks, but the entire expression will be removed during
production builds.
2025-12-09 10:38:39 -08:00
..
global build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
primitives refactor(core): show error message on signal error 2025-11-26 13:11:07 -05:00
resources docs(core): remove outdated regex template restriction in best-practices.md 2025-11-20 16:42:52 -05:00
rxjs-interop refactor(core): add debugName option to rxjs-interop toSignal 2025-11-20 10:49:50 -05:00
schematics refactor(migrations): don't migration the server bootstrapApplicaiton on zoneless apps. 2025-11-26 15:58:53 -05:00
src refactor(core): wrap operationsCounter calls with ngDevMode checks 2025-12-09 10:38:39 -08:00
test perf(compiler): chain query creation instructions 2025-12-09 09:24:36 -08:00
testing fix(core): unable to inject viewProviders when host directive with providers is present 2025-12-03 15:09:48 +01:00
BUILD.bazel refactor(core): export profile event as enum and move profile_types.ts and framework to shared devtools folder 2025-11-19 15:22:49 -08:00
index.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
package.json build: bump core zone.js version 2025-11-19 13:22:14 -08:00
PACKAGE.md build: format md files 2025-11-06 10:03:05 -08:00
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00
tsconfig-test.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00