Error with connect in react-redux?
<p>I am getting this error in my react-native/redux app, although I believe I have already wrapped the root component in a <code>&lt;Provider&gt;</code>: </p>

<p>"Could not find 'store' in either the context or props of 'Connect(FirstView)'. Either wrap the root component in a <code>&lt;Provider&gt;</code>, or explicitly pass 'store' as a prop to Connect(PropertyView)."</p>

<p>I am wrapping the root component in a Provider in containers/root.js:</p>

<pre><code>class Root extends React.Component {
    render() {
        return (
            &lt;Provider store={store}&gt;
                {() =&gt; &lt;SearchPage /&gt;}
            &lt;/Provider&gt;
        );
    }
}

export default Root;
</code></pre>

<p>And then SearchPage transitions to SearchResults via NavigatorIOS, and SearchResults transitions to PropertyView via a NavigatorIOS:</p>

<pre><code>this.props.navigator.push({
        title: "Property",
        component: PropertyView,
        passProps: {property: property,
                    addToSaved: addToSaved
                    }

    });
</code></pre>

<p>I can't figure out what else I am missing to cause this error. Any suggestions would be appreciated!</p>