SwiftUI: Updating an array item does not update the child UI immediately
问题 I have an array of items (numbers) to be presented to the user using NavigationView, List and a leaf page. When I update an item (numbers[index] = ...) on a leaf page, it updates the list correctly (which I see when I go back to the list), but not the leaf page itself immediately. I see the change if I go back to the list and re-open the same leaf page. I would like to understand why it does not update the UI immediately, and how to fix it. Here is the simplified code to re-produce this