Categories
Mastering Development

canLoad in children routes using NgRx

I’m working in an Angular 9 app and I’m trying to load (or not) an specific module only when my app state (ngrx) have a property != null First, I have an AuthGuard in my routes but with canActivate. So I want the ‘dashboard’ module only loads when mt AppState have a token Here is […]