You are catching the error in rxjs using catchError , so it will never reach your try/catch . Also the dispatch are async, so it will always show the ...
ngxs-dispatch-multiple-actions
The action handler is an Observable that receives all the actions dispatched before the state takes any action on it. Actions in NGXS also have a lifecycle. Since .... There are 4 major concepts to NGXS: Store: Global state container, action dispatcher and selector; Actions: Class describing the action to take and its associated ... 3925e8d270
ngxs dispatch multiple actions
Comments