When SwiftUI sends an update to a wrapped UIKit view, we often need to know whet...
Matthaus Woolard @hishnash@mastodon.social
When SwiftUI sends an update to a wrapped UIKit view, we often need to know whether the wrapped UIKit view produced the update to this value.
Custom SwiftUI transaction values provide a clean way to carry this information and avoid unnecessary update or comparison work.
https://nilcoalescing.com/blog/TrackingValueSourcesToPreventRecursiveSwiftUIUpdates/