title: Adding Redux Provider store to the main index file in React
body: <p>I was thinking about passing my    directly to my main <code>index.js</code> file </p>
  
  <pre><code>import {AppRegistry} from 'react-native';
  import App from './App';
  import {name as appName} from './app.json';
  
  AppRegistry.registerComponent(appName, () =&gt; App);
  </code></pre>
  
  <p>I mean I know, We can always do something like  this in our <code>App.js</code> </p>
  
  <pre><code>import React from 'react';
  import { StyleSheet, Text, View } from 'react-native';
  import {Provider} from 'react-redux';
  import Store from "./src/store.js"  
  import Something from './src/container/Something.js';
  
  export default class App extends React.Component {
    render() {
      return (
      &lt;Provider store={Store}&gt;
          &lt;Something
          /&gt;     
      &lt;/Provider&gt;
      );
    }
  }
  </code></pre>
  
  <p><strong>[Question:]</strong> But I was thinking If we can do it in <code>Index.js</code> and If yes then how?</p>