0

Alright, today I tried to implement standalone components in my app. Just to investigate how it works. So on initial launch it's loading correctly. But, here is the thing.

enter image description here Here I have a regular component with navigation and router-outlet. and here are the routes for this feature. The injected service is just a config from localStorage, that has boolean flags that enable or disable features.

enter image description here

So, currently it looks like this.

enter image description here All good.

If I try to move to Time Limits tab, the route changes, but the component stays the same. And it will only work, when I try to move to not lazy loaded component, like Self Exclusion. Also it will work if I remove the loadComonent function and set component prop instead. Any ideas, why this is happening ?

GigaGeek
  • 196
  • 1
  • 10

0 Answers0