Grid
Grid copied to clipboard
Performance issue when scroll has 1000 items and more
Here is my code:
Grid(store.state.categories, id: \.id, tracks: 2) { category in
SectionView( text: category.name)
}.gridContentMode(.scroll)
When I do it with List
there is no issue, no lags. Would be happy if you can let me know if there is something that I missed.
Thanks
Grid is based on ZStack view. Right now there is no ability to calculate layout for items by the order they appear. Items are created all at once.
Yeah I was really excited to find and start using this library, but with this issue the library is unusable in my app.