I am trying to figure out why my ActivatedRoute in an ngrx effect is always pointing to root, its ".url" always return Observable of path: ''
.
Asked
Active
Viewed 471 times
1

user2167582
- 5,986
- 13
- 64
- 121
-
1That is expected. An activated route is only set for routed components while an effect is a service. However, there is a nice solution for this in NgRx: https://ngrx.io/guide/router-store – MikeOne Sep 12 '20 at 09:14