Kshitij Patil
02/17/2021, 11:45 AMval newEntries = currentState().subEntries.toMutableList()
newEntries.remove(action.subEntry)
setState { copy(subEntries = newEntries.toList()) }
Are there any performance hits by doing it this way?Erik
02/17/2021, 4:07 PMsetState { state.copy(subEntries = state.subEntries - action.subEntry) }
Erik
02/17/2021, 4:08 PMKshitij Patil
02/18/2021, 4:04 PMErik
02/18/2021, 7:22 PM