Skip to content

Commit 1c9e7eb

Browse files
Update README with 8th lesson on refactoring from ES5 to ES6
The eighth lesson goes over how to refactor the React app from ES5 to ES6. Update babel-register (server) and babel-loader (webpack) to use `babel-preset-es2015` to compile ES6 to ES5. Refactor <Layout> to a class component and <Index> and <About> to stateless functional components. YouTube: - Title: Refactor a React app from ES5 to ES6 - Link: https://www.youtube.com/watch?v=TD8Z3hw_M_o
1 parent 843291c commit 1c9e7eb

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,23 @@ $ npm install
4242
$ npm start
4343
```
4444

45-
[4. Server-side routing with react-router](https://b.remarkabl.org/2dCiZ06):
45+
[4. Server-side routing with react-router@3](https://b.remarkabl.org/2dCiZ06):
4646

4747
```sh
4848
$ git checkout v4
4949
$ npm install
5050
$ npm start
5151
```
5252

53-
[5. Client-side routing with react-router (Part 1)](https://b.remarkabl.org/2faLHsH):
53+
[5. Client-side routing with react-router@3 (Part 1)](https://b.remarkabl.org/2faLHsH):
5454

5555
```sh
5656
$ git checkout v5
5757
$ npm install
5858
$ npm start
5959
```
6060

61-
[6. Client-side routing with react-router (Part 2)](https://b.remarkabl.org/2fOOWn7):
61+
[6. Client-side routing with react-router@3 (Part 2)](https://b.remarkabl.org/2fOOWn7):
6262

6363
```sh
6464
$ git checkout v6
@@ -74,6 +74,14 @@ $ npm install
7474
$ npm start
7575
```
7676

77+
[8. Refactor a React app from ES5 to ES6](https://b.remarkabl.org/2q5jl8M):
78+
79+
```sh
80+
$ git checkout v8
81+
$ npm install
82+
$ npm start
83+
```
84+
7785
## License
7886

7987
[MIT](https://github.com/remarkablemark/universal-react-tutorial/blob/master/LICENSE)

0 commit comments

Comments
 (0)