Same happens to me with a LazyVGrid, when I add and remove array items repeatedly (doesn't have to be fast), but only when using withAnimation. My use case is a "See All" / "Show Less" toggle.
In the button action:
withAnimation(.easeInOut(duration: 0.3)) { showAll.toggle() }
Without withAnimation I can toggle 100 times and still no crash.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: