react native router flux back to the initial screen from the sub scene
<p>I'm trying to implement <code>logout</code> button on the profile page.</p>

<p>I have following routes defined.</p>

<pre><code>&lt;Router&gt;
    &lt;Scene initial  key='splashScreen' component={SplashScreen} title='Sayan' hideNavBar /&gt;
    &lt;Scene key='loginScreen' component={LoginScreen} title='President Login' hideNavBar /&gt;
    &lt;Scene key='drawer' component={NavigationDrawer} open={false}&gt;
        &lt;Scene key='drawerChildrenWrapper' hideNavBar&gt;
            &lt;Scene key='homeScreen' component={HomeScreen} title='Sayan' hideNavBar /&gt;
            &lt;Scene key='createUserScreen' component={CreateUserScreen} title='Create a user' hideNavBar /&gt;   
            &lt;Scene key='Profile' component={ProfileScreen} title='Profile' hideNavBar /&gt;
        &lt;/Scene&gt;
    &lt;/Scene&gt;
&lt;/Router&gt;
</code></pre>

<p>What does the <code>logout</code> button handler look like, if i want to pop back to <code>splashScreen</code> or <code>loginScreen</code> scene?</p>