Paco Sprouse
06/16/2026, 8:53 PMLazyPagingItems similar to how compose UI does it performance is suboptimal.
We have this setup:
ScrollView { LazyVStack { ForEach(pagingItems) } }
For a 100k+ item dataset with 100 items loaded the size of PagingItems is 100k+ because of all the placeholders, ForEach seems to lazily load visible items, but tries to frequently get the ids of the entire 100k+ dataset to diff with. Even if nearly all of those ids are placeholders keys performance chokes quite a bit while scrolling.