@@ -5,8 +5,8 @@ so you can run your first hello world application.
55
66## node.js
77
8- Although you might decide to never touch backend, you still need
9- [ node.js] ( https://nodejs.org/en/ ) to it's job - compile your source codes into single file,
8+ Although you might decide to never touch backend, you still need
9+ [ node.js] ( https://nodejs.org/en/ ) to it's job - compile your source codes into single file,
1010automatically reload your app when something has changed, run tests and much more.
1111
1212## Setup
@@ -16,7 +16,7 @@ Install node.js if you haven't done so:
1616** macOS:**
1717
1818``` bash
19- brew install node@6
19+ brew install node
2020```
2121
2222** Windows**
@@ -33,15 +33,15 @@ node -v
3333
3434These steps are left to you as optional exercise.
3535
36- Although the setup described previously is totally fine,
37- it's usually much better to have a opportunity to switch
38- between several versions of node.js on one machine:
39- You may be assigned to older
36+ Although the setup described previously is totally fine,
37+ it's usually much better to have a opportunity to switch
38+ between several versions of node.js on one machine:
39+ You may be assigned to older
4040project that has to be run within certain version, yet it's nice to keep
4141a chance for trying new stuff just by switching to the newest one.
4242
43- Please note that it's usually more safe to delete
44- all your previous node.js installations, as you might risk running
43+ Please note that it's usually more safe to delete
44+ all your previous node.js installations, as you might risk running
4545into conflicts with them.
4646
4747*** macOs*** : [ nvm] ( https://github.com/creationix/nvm )
@@ -69,7 +69,7 @@ Try to play with it as you wish!
6969* Optional exercises:*
7070
7171- Look into source code and break something, see what happened?
72- - Create new file ` src/HelloButton.js ` with the following content
72+ - Create new file ` src/HelloButton.js ` with the following content
7373and find out how to add this into page:
7474``` jsx
7575import React , {Component } from ' react' ;
@@ -78,7 +78,7 @@ class HelloButton extends Component {
7878 handleClick () {
7979 alert (' Hello world!' );
8080 }
81-
81+
8282 render () {
8383 return (
8484 < button onClick= {this .handleClick }> Click me< / button>
@@ -94,4 +94,4 @@ export default HelloButton;
9494
9595## Docker
9696
97- TODO?
97+ TODO?
0 commit comments