NgRx Data
John Papa/Ward Bell
Eliminates actions, reducers, effects, selectors
Entities declared in configuration
Services extend EntityCollectionServiceBase using model Type
Installation
npm i @ngrx/data
Define our data (entities)
Declare our App Store Module
Create Hero Service
Implement in Component
Refactor Tour of Heroes to use NgRx-Data: https://stackblitz.com/github/jessesanders/tour-of-heroes/tree/ngrx-data
Last updated
Was this helpful?