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 ``` 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; 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) {