1

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: ''.

user2167582
  • 5,986
  • 13
  • 64
  • 121
  • 1
    That 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

0 Answers0