Purpose
This document serves to layout the potential options for using Signals in Angular with NgRx libraries and/or introducing a package in NgRx based on Signals with some aspects of ComponentStore.
The implementation document for Signals in Angular can be found here
Opportunities
Signals in Angular introduces a primitive for reactivity that's not built on top of RxJS. There will be interopability with RxJS observables and Signals through bridge functions such as toSignal and toObservable.
Bridge Between NgRx Store and Signals
With NgRx libraries being built on top of observables, we can immediately take advantage of Signals in Angular by using the bridge function to go between Signal and Observable. This will allow developers to transform and consume Observables from the NgRx Store as Signals.
Feb 23, 2023・Contributed by
Deprecations/Removals
Current
Selectors with props
Effects decorator (Ask in Google channel about usage)
Proposed
Legacy Schematics for action classes/reducers
Jun 08, 2021・Contributed by
author: Angular Community
created: 2020-05-08
status: [draft | in review | approved | implemented | obsolete]
doc url: https://hackmd.io/HHodz9FQR6mGCZxRmEimsg?both
discord discussion: https://discord.gg/gCEj4zC in #forms channel
feedback url:
design doc template version: 1.0.0
Objective
May 08, 2020・Contributed by