@DonnyWals@lupo342 I think I will try to use a collection view instead for this case and see if I have better performance. I found SwiftUI very frustrating, It’s a good framework to make view faster but in terms of performance, it’s not the better tool
@lupo342@DonnyWals I used a lazyvgrid in my project, where cell contains image fetched from network, with sdwebimage. I also used resizing. Very bad memory performance. I set to nil the image reference when cell disappear but nothing change
@DonnyWals@mecid@concurrent In a vidéo session from wwdc 2025, they explicitly annotate a method with concurrent and even if the method is isolated to main actor, the method is executed in background. I don’t think that’s a bug
@pointfreeco I decided to change my way of creating task by adopting yours. It’s easier for me to handle unit tests.
I have to save the task as state property in order to handle cancellation, for example, when the view goes away