mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Avoid deep write path traversal and triggering source signal updates when calling `deepSignal.set(value)` with a new value that is identical to the current value (`Object.is`). This shortcuts the entire write path and unnecessary array/object copying early on. This approach relies on the guarantee that `source`'s value is non-nullable in the context where `deepSignal` is created and used. TAG=agy CONV=9e5bd277-0d0a-466c-be36-5e3a8e6910be |
||
|---|---|---|
| .. | ||
| signals | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||