1 min readMay 7, 2020
Thank you so much for your reply. You are absolutely correct. That is a great observation.
I created a dummy application for this. My nested component call looked like
NestedComponent(tasks: self.tasks)
and initialized it as,
@State var tasks: Task
and therefore the method got a little confusing. You are correct. We have to check on an item and not over the entire array.