Exactly what I'm trying to do in my app. An advice: don't put HTTP, async services, etc. into the store. Keep it separate. State management has nothing to do with such services and business logic. Ngrx Effects is a terrible mix of two concepts.
You're right, side effects must always be separated from state management, this was a quick example, i'll try to clean it up when I have some free time.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.