feat: migrate to standalone components, directives, pipes #2370
Labels
claimed: 4Science
4Science team is working on this issue & will contribute back
code task
new feature
Milestone
Is your feature request related to a problem? Please describe.
No. But having big SharedModule is an anti-pattern and slows down compilation times.
Describe the solution you'd like
Having standalone components, directives and pipes makes it easier to think about the dependencies of the components and are easier to refactor.
The official standalone migration schematic does 99% of the work:
There are some places where we need to use the
forwardRef
for components that are used before initialisation, but those were easy fixable.I did a test, and the migration worked fine, the project compiles fine and didn't have any thing broken from a quick look I had.
Not all tests pass (even though they get updated by the schematic), but most of them fail because of providers, and those are easily fixable imo.
Additional context
Here are screenshots from what I tried:
The text was updated successfully, but these errors were encountered: