mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
1563aae118
The `errors` linkedSignal in `createParser` had no equality check, so every reset or recomputation — even to an identical empty array — would mark downstream dependents as dirty and trigger unnecessary re-renders. Add `shallowArrayEquals` as the equality function so the signal only notifies dependents when the error list actually changes.
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT