-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat: enable zoneless app #191
base: main
Are you sure you want to change the base?
Conversation
751cf66
to
51e2943
Compare
Can you please split this PR into different PRs, each with a smaller scope? |
I can split it into 3 Prs this way: 1st: update node version 2nd: update angular version 3rd: the rest |
No need to update node as node 22 is not the current latest stable version. So I would focus on a PR that only enables zoneless app. |
</mgl-marker> | ||
} | ||
}`, | ||
@for (feature of clusterPoints(); track $index) { @if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this your IDE setting that is setting the "for" and the "if" in the same line?
I don't think it adds readability...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also have the same formatting issue with VSCode in this project. It wont format the new Angular Control Flow syntax correctly and also changes single quotes to double for me as well. How to you format the code?
I usually use prettier for formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I usually prefer lint, although usually not as powerful, it gets the job done.
dc3247e
to
ffb8fc3
Compare
Hello @HarelM @marcjulian I have a warning in the path 'demo/add-image-missing-generated'. This warning is triggered when I replace 'provideZoneChangeDetection' with 'provideExperimentalZonelessChangeDetection'. The 'maplibre-gl' package raises this warning: I investigated and here's what I found: Do you have any idea how to solve this problem ? |
Are you sure the styleimagemissing event is triggered and the img-layer is created to add an image to the map and thus avoid this warning? |
Yes, the styleimagemissing event is triggered and the images are displayed correctly. |
It might be a timing issue then, not sure... |
aa062aa
to
f6fe638
Compare
f6fe638
to
52aebbd
Compare
@n-elhk can you please take a look at the issues that are open, I think the migration to signals introduced some issues especially with removed destroy methods. |
Update to Angular 18.2.5
Add ChangeDetection.OnPush to all demo components
Replace provideZoneChangeDetection by provideExperimentalZonelessChangeDetection()
Use signal to update the template