|
|
## Data Stores
|
|
|
## DATA STORE OF THE FUTURE
|
|
|
### NGRX Store.
|
|
|
- We need to figure out multi model data store with ngrx
|
|
|
- We want this store based on redux because the Angular Team is working on/ officially supporting it
|
|
|
|
|
|
## Present Data Store
|
|
|
A [redux](http://redux.js.org/)-style store is set up for each model, using [RxJS](http://rudiyardley.com/redux-single-line-of-code-rxjs/). Each store is constructed with some basic configuration, e.g.:
|
|
|
```javascript
|
|
|
// models.ts
|
... | ... | |