You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
"description":"Create modular, composable reducers with `combineReducers`.",
10
10
"tasks": [
11
11
{
12
-
"description":"import `combineReducers` from redux",
12
+
"description":"create a new `const reducers` and set it equal to\"reducer\". Pass\"reducers\" into your store for now, instead of\"reducer\". We'll use combineReducers shortly, but let's not break the app yet.",
13
13
"tests": [
14
14
"06/01"
15
-
],
16
-
"hints": [
17
-
"Try this: `import { combineReducers } from 'redux';`"
18
15
]
19
16
},
20
17
{
21
-
"description":"createa new `const reducers` and set it to\"reducer\". Pass\"reducers\" intoyourstore for now, instead of\"reducer\".We'll use combineReducers shortly, but let's not breaktheapp yet.",
18
+
"description":"We're going tocreatemore than one reducer. They can't all be called\"reducer\", so renameyouroriginal reducer\"pokemon\".Make sure to set reducers equal tothenew name as well.",
22
19
"tests": [
23
20
"06/02"
24
21
]
25
22
},
26
23
{
27
-
"description":"We're going to create more than one reducer. They can't all be called\"reducer\", so rename your reducer 'pokemon'.",
24
+
"description":"import `combineReducers` from redux",
28
25
"tests": [
29
26
"06/03"
27
+
],
28
+
"hints": [
29
+
"Try this: `import { combineReducers } from 'redux';`"
Copy file name to clipboardExpand all lines: tutorial/01/index.md
+32-3Lines changed: 32 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Running `> npm run setup` will do the following:
12
12
13
13
You'll find this "setup" script located in your*package.json*.
14
14
15
+
15
16
---
16
17
17
18
We'll be installing a lot of scripts from terminal. You may also want to consider installing the atom package["platformio-ide-terminal"](https://github.com/platformio/platformio-atom-ide-terminal), which provides a terminal inside your editor.
@@ -38,7 +39,7 @@ We'll be installing a lot of scripts from terminal. You may also want to conside
38
39
"test": "echo \"Error: no test specified\" && exit 1"
39
40
},
40
41
"dependencies": {
41
-
"mocha-coderoad": "0.9.0"
42
+
"mocha-coderoad": "0.9.3"
42
43
},
43
44
"devDependencies": {
44
45
"babel-preset-es2015": "^6.9.0",
@@ -60,18 +61,46 @@ We'll be installing a lot of scripts from terminal. You may also want to conside