NationalBankBelgium / stark

Modern client-side Web application framework based on Angular, Angular Material / Material Design, TypeScript, Redux, RxJS, ...
https://stark.nbb.be
Other
55 stars 23 forks source link

core: add ngrx-data #386

Open dsebastien opened 6 years ago

dsebastien commented 6 years ago

Goal: introduce support for this helper for state management: https://github.com/johnpapa/angular-ngrx-data

christophercr commented 6 years ago

Nice library! As soon as I started to read their docs, the words 'JS-Data' and 'BreezeJS' immediately came to my mind :smile:

This is however a completely different approach and just intended to be a helper which makes it better for our use case.

Regarding the integration, I think it is just matter of providing a new DefaultDataService extending their DefaultDataService in which we can use our StarkHttp API instead of the raw Angular HttpClient.

Anyway, we should investigate this further...

christophercr commented 6 years ago

It seems that NgRx Data will be part of the next major version of NgRx (v7):

https://medium.com/ngrx/announcing-the-release-of-ngrx-6-new-projects-and-looking-ahead-5fc30bed260b