

Either wrap the root component in a, or pass a custom React context provider to and the corresponding React context consumer to Connect(Todo) in connect options.

Failure to provide the correct context results in this runtime error:Ĭould not find "store" in the context of "Connect(M圜omponent)". If you do so, you will need to provide the same context instance to all of your connected components as well. ** The top-level React elements in your component tree, such as `` **/ * Initial value doesn't matter, as it is overwritten with the internal state of Provider. * If this is used, you'll need to customize `connect` by supplying the same * Optional context to be used internally in react-redux.

* if available, to ensure that the UI output is consistent with the HTML generated on the server. Will be used during initial hydration render * The single Redux store in your application.
