ML Musings
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.

--

--

ML Musings
ML Musings

Written by ML Musings

✨ I enjoy pushing the boundaries of JS, Python, SwiftUI and AI. You can support my work through coffee - www.buymeacoffee.com/MLMusings

No responses yet