I have a SwiftUI + SwiftData app where scrolling became very slow, and I've traced
it to something about @Query I didn't expect.
The app was running save for each lazy list item appearing in viewport (a separate bug, but it did highlight the problem), which made the whole list re-render on each save. After tracing why this happens I have discovered that it is because another model watched in the list parent is invalidated after every save, and the problem was that this another model has @Query in a separate view (sidebar), removing that @Query fixed the problem.
Here is a minimal reproduction of this https://github.com/aytigra/QueryRefaultRepro
I wonder if it is a bug or an expected behavior?