From 83521def8d7fff60c4045d2009121dc10c46e550 Mon Sep 17 00:00:00 2001 From: svodnik Date: Tue, 7 Nov 2017 12:05:44 -0800 Subject: [PATCH 1/3] added babel-core to install step in Lesson 5 to fix error --- lesson_5.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lesson_5.md b/lesson_5.md index 9849959..59b39f8 100644 --- a/lesson_5.md +++ b/lesson_5.md @@ -66,9 +66,10 @@ identical when executed, but is much easier to read when coding! Let's install some required tools to get us up and running: ```bash -npm install --save-dev babelify babel-preset-react babel-preset-es2015 +npm install --save-dev babel-core babelify babel-preset-react babel-preset-es2015 ``` +- `babel-core` is the core Babel compiler - `babelify` is a tool which tells Browserify how to handle this code when it is seen - `babel-preset-react` tells Babel that we want to handle react-specific (ie; From 8c20a0da59dc9adc3321a512f54a7ce426c47691 Mon Sep 17 00:00:00 2001 From: svodnik Date: Tue, 16 Jan 2018 14:49:49 -0800 Subject: [PATCH 2/3] fixed typo --- lesson_6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lesson_6.md b/lesson_6.md index e91f693..12f62a5 100644 --- a/lesson_6.md +++ b/lesson_6.md @@ -13,7 +13,7 @@ React.render( ``` In JSX, these attributes are known as *props*, and are available from within the -component as the frist function parameter: +component as the first function parameter: ```javascript function MyComponent(props) { From e70fcd422a45818d4de657ad7ca22d8ab6b2ce45 Mon Sep 17 00:00:00 2001 From: svodnik Date: Tue, 16 Jan 2018 20:46:49 -0800 Subject: [PATCH 3/3] added app.js to final folder hierarchy to reflect all steps --- lesson_1.md | 1 + 1 file changed, 1 insertion(+) diff --git a/lesson_1.md b/lesson_1.md index a7db6c4..57c884b 100644 --- a/lesson_1.md +++ b/lesson_1.md @@ -71,6 +71,7 @@ A basic project is now setup. The folder structure should look like: . ├── lib │   └── index.html +│   └── app.js └── package.json ```