DEV Community

Discussion on: Simple state management in Angular with only Services and RxJS

Collapse
 
ova2 profile image
Oleg Varaksin

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.

Collapse
 
avatsaev profile image
Aslan Vatsaev

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.