-
Notifications
You must be signed in to change notification settings - Fork 26.4k
refactor(core): remove the standalone feature #58288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f7e1c14
to
29625a4
Compare
29625a4
to
8964157
Compare
8964157
to
b948c06
Compare
b948c06
to
9094102
Compare
9094102
to
00d8d64
Compare
00d8d64
to
32fd6a2
Compare
32fd6a2
to
8b91714
Compare
By removing the standalone feature, we reduce the amount of code generated for components but at the cost of including the `StandaloneService` in the main bundle even if no standalone components are included in it.
8e45f9e
to
822bf25
Compare
Rebased to resolve the conflicts, It'll need a re-approval @AndrewKushnir |
Caretaker note: presubmit status got reset due to a rebase. No extra presubmit is required. |
This PR was merged into the repository by commit 5d9cc8f. The changes were merged into the following branches: main, 19.0.x |
By removing the standalone feature, we reduce the amount of code generated for components but at the cost of including the `StandaloneService` in the main bundle even if no standalone components are included in it. PR Close #58288
The changes in angular#58288 are responsible for breaking the tests (see angular#54858). We'll re-enable them on the next release.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
By removing the standalone feature, we reduce the amount of code generated for components but at the cost of including the
StandaloneService
in the main bundle even if no standalone components are included in it.Had to move some functions due to cyclic imports. Ideally, I would have gone with dropping the
getStandaloneInjector
method entirely, but we can't access it directly in theComponentFactory
because of the said cyclic import.