From 945bc22f27ed040a208db39220597dbd69ad61b5 Mon Sep 17 00:00:00 2001 From: Ken Date: Mon, 4 Mar 2019 18:17:59 -0800 Subject: [PATCH] fixed the mention of hooks --- step2-06/demo/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/step2-06/demo/README.md b/step2-06/demo/README.md index 38e8dfa..9fd1811 100644 --- a/step2-06/demo/README.md +++ b/step2-06/demo/README.md @@ -15,7 +15,7 @@ We will demonstrate how to use `react-redux` to pass down the Redux store to the ## Provide the Store Context -Class Components will access the Redux store via the `StoreContext` from `react-redux-hooks`. In Step 2.4, you saw how the context is hooked up. So, instead of providing our own context for Redux store, we just take one that is already been created. We need to first hook up the `` component just like in Step 2.4. +Class Components will access the Redux store via the `` from `react-redux`. Under the hood, `react-redux` also uses the Context API to pass the store into the descendant components. ```js const store = createStore(reducers);