mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c262069635
The `effect` implemented in the signal library is useful for testing but does not integrate with Angular. This commit moves that code to the actual framework package and integrates it with automatic cleanup via `DestroyRef`. A simpler effect implementation is used in the signal tests to test the `Watch` primitive. Further commits will update the scheduling to tie effects together with change detection. PR Close #49529
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