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
Right now using go() imperatively doesn't feel right and limits the cases where react-morph can be applied. For example a state change can only be triggered from inside ReactMorph. In the real world this state comes from a Router, redux or a component somewhere else.
What I would love to see as an API would be a prop on the ReactMorph component that controls which state to show. E.g. <ReactMorph go={1}>.
The text was updated successfully, but these errors were encountered:
Right now using
go()
imperatively doesn't feel right and limits the cases where react-morph can be applied. For example a state change can only be triggered from insideReactMorph
. In the real world this state comes from a Router, redux or a component somewhere else.What I would love to see as an API would be a prop on the
ReactMorph
component that controls which state to show. E.g.<ReactMorph go={1}>
.The text was updated successfully, but these errors were encountered: