mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This PR moves the Observable subscription of toSignal outside of the reactive context. As the result the toSignal calls are allowed in the computed, effect and all other reactive consumers. This is based on the reasoning that we already allow signals creation in a reactive context. Plus a similar change was done to the async pipe in the https://github.com/angular/angular/pull/50522 Fixes #51027 PR Close #51831 |
||
|---|---|---|
| .. | ||
| index.ts | ||
| take_until_destroyed.ts | ||
| to_observable.ts | ||
| to_signal.ts | ||