Converts the type AutomergeText from a placeholder value type into a reference type. When initialized empty, it acts the same as AutomergeText (with the exception of being a reference type, of course) - and when bound to an Automerge document, it attempts to write any initial value into place, and otherwise provides an ObservableObject that can also vend a SwiftUI Binding to update fields without having to incur a structural rebuild with a full decode cycle.
In short, it's an optimization for displaying Text through to a SwiftUI app.
Converts the type AutomergeText from a placeholder value type into a reference type. When initialized empty, it acts the same as AutomergeText (with the exception of being a reference type, of course) - and when bound to an Automerge document, it attempts to write any initial value into place, and otherwise provides an ObservableObject that can also vend a SwiftUI Binding to update fields without having to incur a structural rebuild with a full decode cycle.
In short, it's an optimization for displaying Text through to a SwiftUI app.