Skip to content

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

Closed

Conversation

JeanMeche
Copy link
Member

@JeanMeche JeanMeche commented Oct 21, 2024

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 the ComponentFactory because of the said cyclic import.

@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Oct 21, 2024
@ngbot ngbot bot added this to the Backlog milestone Oct 21, 2024
@JeanMeche JeanMeche force-pushed the core/remove-standalone-feature branch from f7e1c14 to 29625a4 Compare October 22, 2024 03:28
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Oct 22, 2024
@JeanMeche JeanMeche force-pushed the core/remove-standalone-feature branch from 29625a4 to 8964157 Compare October 22, 2024 03:44
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Oct 22, 2024
@ngbot ngbot bot modified the milestone: Backlog Oct 22, 2024
@JeanMeche JeanMeche force-pushed the core/remove-standalone-feature branch from 8964157 to b948c06 Compare October 22, 2024 05:39
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Oct 22, 2024
@JeanMeche JeanMeche force-pushed the core/remove-standalone-feature branch from b948c06 to 9094102 Compare October 22, 2024 05:59
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Oct 22, 2024
@JeanMeche JeanMeche force-pushed the core/remove-standalone-feature branch from 9094102 to 00d8d64 Compare October 22, 2024 06:00
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Oct 22, 2024
@ngbot ngbot bot modified the milestone: Backlog Oct 22, 2024
@JeanMeche JeanMeche force-pushed the core/remove-standalone-feature branch from 00d8d64 to 32fd6a2 Compare October 22, 2024 06:28
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Oct 22, 2024
@JeanMeche JeanMeche marked this pull request as ready for review October 22, 2024 06:38
@pullapprove pullapprove bot requested a review from AndrewKushnir October 22, 2024 06:38
@alxhub alxhub modified the milestones: Backlog, v19 final Oct 22, 2024
@JeanMeche JeanMeche force-pushed the core/remove-standalone-feature branch from 32fd6a2 to 8b91714 Compare October 22, 2024 20:26
@angular-robot angular-robot bot removed the area: core Issues related to the framework runtime label Oct 22, 2024
@AndrewKushnir AndrewKushnir added target: rc This PR is targeted for the next release-candidate action: presubmit The PR is in need of a google3 presubmit and removed target: major This PR is targeted for the next major release labels Oct 24, 2024
@AndrewKushnir
Copy link
Contributor

Presubmit.

@AndrewKushnir AndrewKushnir removed the request for review from alxhub October 24, 2024 03:10
@JeanMeche JeanMeche added the action: merge The PR is ready for merge by the caretaker label Oct 24, 2024
@AndrewKushnir AndrewKushnir removed the action: presubmit The PR is in need of a google3 presubmit label Oct 24, 2024
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.
@JeanMeche JeanMeche force-pushed the core/remove-standalone-feature branch from 8e45f9e to 822bf25 Compare October 24, 2024 19:55
@angular-robot angular-robot bot requested a review from AndrewKushnir October 24, 2024 19:56
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Oct 24, 2024
@JeanMeche
Copy link
Member Author

JeanMeche commented Oct 24, 2024

Rebased to resolve the conflicts, It'll need a re-approval @AndrewKushnir

@AndrewKushnir AndrewKushnir added the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label Oct 24, 2024
@AndrewKushnir
Copy link
Contributor

Caretaker note: presubmit status got reset due to a rebase. No extra presubmit is required.

@alxhub
Copy link
Member

alxhub commented Oct 24, 2024

This PR was merged into the repository by commit 5d9cc8f.

The changes were merged into the following branches: main, 19.0.x

alxhub pushed a commit that referenced this pull request Oct 24, 2024
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
@alxhub alxhub closed this in 5d9cc8f Oct 24, 2024
JeanMeche added a commit to JeanMeche/angular that referenced this pull request Oct 25, 2024
The changes in angular#58288 are responsible for breaking the tests (see angular#54858). We'll re-enable them on the next release.
@JeanMeche JeanMeche deleted the core/remove-standalone-feature branch October 25, 2024 17:08
devversion pushed a commit that referenced this pull request Oct 25, 2024
The changes in #58288 are responsible for breaking the tests (see #54858). We'll re-enable them on the next release.

PR Close #58367
devversion pushed a commit that referenced this pull request Oct 25, 2024
The changes in #58288 are responsible for breaking the tests (see #54858). We'll re-enable them on the next release.

PR Close #58367
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants