angular/packages/core
Elizabeth b8e415a717 fix(core): fix change tracking for Resource#hasValue (#62595)
When using `hasValue()` I would expect it to behave like any other
reactive value such that changes to the internal `value()` that do not
cause `hasValue()` to return anything different do not trigger change
detection, but this was not the case. This change wraps the value
checking in a `computed` such that it behaves as expected again while
still preserving the type narrowing.

PR Close #62595
2025-07-18 10:01:43 -04:00
..
global refactor(docs-infra): use interpolation instead of innerHTML for better perf (#58913) 2024-11-27 10:59:18 +01:00
primitives build: migrate esbuild usages to aspect_rules_esbuild esbuild rule (#62529) 2025-07-09 12:41:27 -07:00
rxjs-interop build: migrate to use web test runner rules (#62292) 2025-06-26 17:19:10 +00:00
schematics feat(core): support TypeScript 5.9 (#62541) 2025-07-14 14:04:58 -07:00
src fix(core): fix change tracking for Resource#hasValue (#62595) 2025-07-18 10:01:43 -04:00
test fix(core): fix change tracking for Resource#hasValue (#62595) 2025-07-18 10:01:43 -04:00
testing feat(core): support bindings in TestBed (#62040) 2025-06-17 11:49:27 +02:00
BUILD.bazel build: migrate to new toolchain usage for api goldens (#62688) 2025-07-17 18:13:42 -04:00
index.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
package.json fix(core): mark zone.js as an optional peer dependency (#61616) 2025-05-22 12:14:06 -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
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