You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current bind method implementation creates multiple paths to modify Station's state, violating the unidirectional data flow pattern.
To resolve this issue, introducing a dedicated Action to handle state updates should be available just like using pour method.
station.counter.bind(\.counterUpdated)
The text was updated successfully, but these errors were encountered:
bind
method used for SwiftUI binding:https://github.com/musicspot24/Dripper/blob/be997a6c5bfb4735290c01fc59be6b239c00cbec/Sources/Dripper/Station.swift#L105-L121
The current bind method implementation creates multiple paths to modify
Station
's state, violating the unidirectional data flow pattern.To resolve this issue, introducing a dedicated
Action
to handle state updates should be available just like usingpour
method.The text was updated successfully, but these errors were encountered: