SwiftUI-Hooks
SwiftUI-Hooks copied to clipboard
Update?
Do you plan on updating to latest swift? I think that you may need to replace @ObjectBinding
with @State
. In fact, that may already be true if @ObjectBinding
behaves like @ObservedObject
because when a component re-renders as a result of a property change, it's @ObservedObject
s are reset.