Use Sub-scenes for state management
masterYou can create 'sub-scene' actions by nesting Scene elements as children of a 'base' scene that does not have a component prop. Calling the action for a child scene will update the base scene's state. This is a lightweight alternative to Redux for managing UI states like 'edit mode'.
<Scene key="myAccount" component={MyAccount} title="My Account">
<Scene key="viewAccount" />
<Scene key="editAccount" editMode rightTitle="Save" onRight={()=>Actions.saveAccount()} leftTitle="Cancel" onLeft={()=>Actions.viewAccount()} />
<Scene key="saveAccount" save />
</Scene>