SwiftUI
Observable does not conform with Equatable (and Hashable)
I noticed a snag when using NavigationLink(value:label:) and .navigationDestination(for:destination:) with the new @Observable vs the old Combine ObservableObject (which “just worked™️”). There are 2 compilation errors: Fortunately it is relatively simple to add Hashable conformance to an @Observable class by implementing a static func == and a func hash that Read more…