Swift

Ergonomic Struct Updates in Swift

Reducer functions work well with Swift’s value semantic structs, but applying small changes is a headache without JavaScript’s object spread operator. We can use Swift protocols an