I am using ngrx/store and ngrx/effects.
This is the flow,
- user click login button
- LOGIN Action dispatched
- $effects perform http.post credentials for login
- dispatch LOGIN_SUCCESS or LOGIN_FAILURE Action
Question: I would like to perform some UI task, eg, pull down the modal, or show a pop up of the error message, after the action.
How would I go about subscribing to the response in my component?
Thanks guys.