title: How to set up app container in React-Navigation-3?
body: <p>I want to send data as <code>initialProps</code> from Native android to React-Native, but the problem is with <code>react-navigation</code> in which I am using <code>StackNavigator</code></p>
  
  <p>This is the solution (<a href="https://github.com/react-navigation/react-navigation/issues/634" rel="nofollow noreferrer">got help from here</a>)
  which will work in previous versions of <code>react-navigation</code> used to send <code>initialProps</code> from native to first scene of react-native: </p>
  
  <pre><code>export default class AwesomeProject extends Component {
      constructor(props){
          super(props)
          console.warn(this.props.movie_id);
      }
  
      render() {
                return &lt;RootStack screenProps={this.props.movie_id} /&gt;;
          }
  }
  
  const RootStack = createStackNavigator(
      { 
          home:  {screen: Details},
          genre: {screen: Genre},
      },
      { 
          initialRouteName: 'home',
      }
  );
  </code></pre>
  
  <p><strong>But</strong> from <code>react-navigation-3</code> onwards you must set up app container directly.</p>
  
  <p>Can anyone tell me how to achieve this using <code>createAppContainer()</code> ?</p>