I want to get the route data for the parent route from the current route. Is it possible? The documentation here https://ngrx.io/guide/router-store/selectors shows only how to get the route data from the current route.
Asked
Active
Viewed 216 times
0
-
Yes you can. I did it like in this tutorial and i am able to select all params of the route https://dev.to/salimchemes/how-to-implement-ngrx-router-store-4552 – Deitsch May 12 '22 at 07:39
1 Answers
0
You can enable the paramsInheritanceStrategy: 'always'
option from the Angular Router.

timdeschryver
- 14,415
- 1
- 19
- 32