DEV Community

Discussion on: Manually Lazy load Components in Angular 8

Collapse
 
binarysort profile image
Mayank Dubey

Hi,

Have you tried providing alternate componentFactoryResolver in material dialog config?

Collapse
 
benifreitag profile image
Benjamin Freitag • Edited

Thanks. Yes, I tried this but it still causes the same error in Angular 8. I updated the Stackblitz.

In Angular 9 this is fixed and there's no need to pass componentFactoryResolver 👏

Thread Thread
 
binarysort profile image
Mayank Dubey

I think it's related to this issue github.com/angular/angular/issues/...

Some comments have been hidden by the post's author - find out more