Custom Features of NgRx SignalStore
summary
SignalStore presents a tiny, composable API where features like withState and computed return reusable pieces that merge into a store; lifecycle onInit and onDestroy tie store lifetime to a component via providers. The demo builds a reusable request-status feature with states idle, pending, fulfilled and error and computed flags, and shows the built-in entity feature with addEntity/removeEntity/updateAll helpers. Community plugins (devtools, redux, table traits) already exist and the feature system proves practical.
AI-written summary · about
chapters (11)
- 0:00Introduction to talk
- 0:27Speaker introduction
- 1:50NgRx and signals overview
- 2:34Why SignalStore was created
- 4:20SignalStore building blocks
- 6:23Using SignalStore in components
- 8:10Extensibility with features
- 9:32Custom loading state feature
- 11:42Entity state feature
- 13:05Future custom features
- 14:54Summary and thanks
