Category: Angular
-
Signal inputs
Signal inputs allow values to be bound from parent components. Those values are exposed using a Signal and can change during the lifecycle of your component. HELPFUL: Signal inputs are currently in developer preview. Angular supports two variants of inputs: Optional inputs Inputs are optional by default, unless you use input.required. You can specify an…
-
RxJS Interop
IMPORTANT: The RxJS Interop package is available for developer preview. It’s ready for you to try, but it might change before it is stable. Angular’s @angular/core/rxjs-interop package provides useful utilities to integrate Angular Signals with RxJS Observables. toSignal Use the toSignal function to create a signal which tracks the value of an Observable. It behaves…
-
Signals
What are signals? A signal is a wrapper around a value that notifies interested consumers when that value changes. Signals can contain any value, from primitives to complex data structures. You read a signal’s value by calling its getter function, which allows Angular to track where the signal is used. Signals may be either writable…