How to optimize SwiftData performance in large lists?

I’m building a SwiftUI application using SwiftData for local storage.

When loading large lists with images, scrolling performance becomes slower.

What are the best practices to optimize SwiftData fetch performance in SwiftUI apps?

How to optimize SwiftData performance in large lists?
 
 
Q