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 way I get around this is by making Transition's duration prop come from state. When I need to update state, I change it to 0 (so the re-render happens instantly with no animation) and call Transition.show and when I want something to animate, put it back to 250 or whatever.
You could do a similar thing in componentDidUpdate with props.
It seems that every state under
<Transition>
tag is not being updated.Parent Component
Child Component
When i click the second
<TouchableOpacity>
in parent component to change child value it just doesn't update.Maybe this problem is related to #4 .
The text was updated successfully, but these errors were encountered: