I think it would behoove us greatly to convert everything to standalone components. They are now the default type in angular, and though ngModules won't be deprecated any time soon, we're going to make things easier on ourselves if we're standalone completely.
There's a schematic
ng generate @angular/core:standalone
I see recommendations to do these operations separately and in this order, testing between each step:
ng generate @angular/core:standalone --mode=convert-to-standalone
ng generate @angular/core:standalone --mode=prune-ng-modules
ng generate @angular/core:standalone --mode=standalone-bootstrap
I briefly ran these, it looks like it's mostly clean but might be a few wrinkles to iron out.
I think it would behoove us greatly to convert everything to standalone components. They are now the default type in angular, and though ngModules won't be deprecated any time soon, we're going to make things easier on ourselves if we're standalone completely.
There's a schematic
ng generate @angular/core:standaloneI see recommendations to do these operations separately and in this order, testing between each step:
ng generate @angular/core:standalone --mode=convert-to-standaloneng generate @angular/core:standalone --mode=prune-ng-modulesng generate @angular/core:standalone --mode=standalone-bootstrapI briefly ran these, it looks like it's mostly clean but might be a few wrinkles to iron out.