title: React Navigation - Animating, Replacing screens and Tabs
body: <p>I'm using React-Navigation inside my application and I couldn't find a way to do a couple of things.
  First, I want to change the transition animation, but I couldn't find anyway to do so, would glad if you guys could help me.</p>
  
  <p>Second, I have a login screen, When logging in, the user is moved to the Homescreen, in the Homescreen I get a back button on it so I can go to login again (which I don't want) I tried using this code:</p>
  
  
  
  <pre class="lang-js prettyprint-override"><code>handlePress(navigate){
      firebaseRef.auth().signInWithEmailAndPassword(this.state.email, this.state.password).then(function(firebaseUser){
        //Success, move to homepage.
        navigate.replace("Home");
      }).catch(function(error){
        //Failed to log in, print error.
      }); 
  }
  </code></pre>
  
  <p>but it won't work, nothing happens (it won't navigate to the home), only if I use <code>navigate("Home");</code> it navigates to home.</p>
  
  <p>this is navigate (inside render): </p>
  
  <pre class="lang-js prettyprint-override"><code>const { navigate } = this.props.navigation;
  </code></pre>
  
  <p>Third, I have few screens (Login, Register, Home and Friends),This is my StackNavigator:</p>
  
  <pre class="lang-js prettyprint-override"><code>const Stylelist = StackNavigator({
    Login:{
       screen: LoginScreen,
       navigationOptions: ({navigation}) =&gt;({
         header: null,
       }),
    },
    Register:{
        screen: RegisterScreen,
        navigationOptions: ({navigation}) =&gt;({
          header: null,
        }),
    },
    Home:{
       screen: HomeScreen,
       navigationOptions: ({navigation}) =&gt;({
         header: "float",
         title: "Home",
       }),
    },
  });
  </code></pre>
  
  <p>I want the Home screen to be part of a TabNavigator as well (with Friends screen.)
  I searched the web but couldn't find how to do this.
  Can you guys help me out? giving me information sources/examples.
  Thanks in advance!</p>