title: SwiftUI Add to ForEach array without causing the entire view to reload
body: <p>if I have something like this:</p>
  <pre><code>struct ContentView: View {
      var results = [Result(score: 8), Result(score: 5), Result(score: 10)]
  
      var body: some View {
          VStack {
              ForEach(results, id: \.id) { result in
                  Text(&quot;Result: \(result.score)&quot;)
              }
          }
      }
  }
  </code></pre>
  <p>And then I have a button that appends sometihng to the results array, the entire ForEach loop will reload. This makes sense, but I'm wondering if there is some way to prevent this. The reason I'm asking is because I have a ForEach loop with a few items, each of which plays an animation. If another item is appended to the array, however, the new item appears at the top of the ForEach, but, since the entire view is reload, the other animations playing in the items stop.</p>
  <p>Is there any way to prevent this? Like to add an item to a ForEach array, and have it appear, but not reload <em>the entire</em> ForEach loop?</p>
  <p>I assume not, but I would wonder how to get around such an issue.</p>