Skip to content
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

Investigate migration to new control-flow templating #2186

Open
hudson-newey opened this issue Dec 10, 2024 · 0 comments
Open

Investigate migration to new control-flow templating #2186

hudson-newey opened this issue Dec 10, 2024 · 0 comments
Labels
architecture Architectural changes to the software

Comments

@hudson-newey
Copy link
Member

hudson-newey commented Dec 10, 2024

Angular 17 introduced new control flow templating

@if (condition) {
	<p>conditionally render be {{ condition }}</p>
}

The new templating is marginally faster than the old directive-based control flow and migration means that we don't have two different control flow styles in our templates

We should consider running the Angular migration script

$ ng g @angular/core:control-flow
>

https://angular.love/diving-into-the-new-angular-control-flow-internals

@hudson-newey hudson-newey added the architecture Architectural changes to the software label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Architectural changes to the software
Projects
None yet
Development

No branches or pull requests

1 participant