Using the Todos example in TCA, if I make the todos array optional, I'm struggling to figure out how I then use the ForEach with that new optional array. I can't find a combination that works.
So in AppState I just made todos optional:
var todos: IdentifiedArrayOf<Todo>?
So the compiler shows this error for the reducer:
It seems the compiler has a hard time choosing the correct ForEach, and I noticed that the ForEach I need already does a