Freezes with forEach and fast-scroll #1315
Replies: 1 comment 1 reply
-
Interesting. Long ago we saw performance problems with lazy stacks when they were first introduced, so maybe those problems have been fixed and now the new lazy grid APIs have performance problems. As an aside, I'm curious whether this image download logic is appropriate to run through your reducer. Is there any part of your application's logic that actually needs access to the image data? Or is the image data only being used to display in an image view? If it's the latter, then we recommend using something like There's a recent discussion thread about performance in TCA and sending many actions that you may be interested in. And you may be interested in our article discussing TCA performance. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i'm trying to use TCA for LazyVGrid, but here is issue with freezing, once you start using fast scroll or just scrolling grid fast. Once I remove send(action) it works good. I'm sure i'm not using correctly. But looks like send action have issue with a lot of reducers.
View
Sorry, it's duplicates https://forums.swift.org/t/tca-freezes-with-foreach-and-fast-scroll/59995
Seems like SwiftUI issue, it works good with LazyVStack, but not with LazyVGrid :(
Beta Was this translation helpful? Give feedback.
All reactions