November 2018
Beginner
502 pages
10h 22m
English
The Provider component can pass the store to components beneath it at any level. So, in this section we are going to add Provider right at the top of our component hierarchy so that all our components can access it:
import { Provider} from "react-redux";
import { Store } from "redux";
import configureStore from "./Store";import { IApplicationState } from "./Store";
interface IProps { store: Store<IApplicationState>; ...Read now
Unlock full access