ngrx-loadable
Add some loading to your state
Install
npm install --save ngrx-loadable
Usage
; ; const adapter: LoadableAdapter = ; const initialState = adapter as MyState; : MyState { } const selectError selectIsLoaded selectIsLoading selectIsLoadingCount = loadableAdapter; ;
Options
isParallelLoadable
Defaults to false
. Set to true
if you load your requests in parallel.
Eg. if you use concatMap
in your load request effect you'll want to set this to true.