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
This all works except for the animation/transition.
Generally we'd just handle this stuff with @State .... bindings and be done but I'm trying to figure out if there's a way I can manage either the bound @State variable from the store or some other solution so the state of my UI is coming 100% from my store.
In the past in Redux, I've had situations that are more like:
I'm really loving SwiftUIFlux and the direction things are going with ConnectedView. Great job!
One question I've run into is how to handle animations when props change. Here's a very contrived example (leaving out some bits for brevity) ...
This all works except for the animation/transition.
Generally we'd just handle this stuff with
@State ....
bindings and be done but I'm trying to figure out if there's a way I can manage either the bound @State variable from the store or some other solution so the state of my UI is coming 100% from my store.In the past in Redux, I've had situations that are more like:
isVisible
is derived from the state and should update / recompute when state changes.Any recommendations how to handle this situation in a SwiftUIFlux'y way?
The text was updated successfully, but these errors were encountered: