Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

373
Views
Refactor Angular `LoadedRouterConfig` import which is not available anymore

I have an Angular application that I'm upgrading to version 8 and running into an issue of LoadedRouterConfig not being exposed publicly anymore. I can't find any Angular documentation on this, so I'm not sure how to re-write the code that uses it. Seems like it's creating dynamic routes on the fly?

  import {LoadedRouterConfig} from '@angular/router/src/config';
  .....

  item.path = path;
  item.children = [];
  if (route.children !== undefined && route.children.length > 0) {
    this.childrenProcess(route.children, path, item, context );
  } else if (route.loadChildren !== undefined) {
    const loadedRouterConfig: LoadedRouterConfig = (route as any)._loadedConfig;
    if (loadedRouterConfig !== undefined ) {
      this.childrenProcess(loadedRouterConfig.routes, path, item, context);
    }
  }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!