1
1
# 오탈자 및 개선사항
2
2
3
3
## 1쇄
4
- ### pg.73 [ (Issue #2 )] ( https://github.com/velopert/learning-react/issues/2 )
4
+
5
+ ### pg.27 [ (Isssue #17 ] ( https://github.com/velopert/learning-react/issues/17 )
6
+
7
+ - "author": "velopert" 부분 뒤에 쉼표가 하나 빠짐
8
+
9
+ 수정 전:
10
+ ```
11
+ {
12
+ "title": "Hello",
13
+ "contents": "Hello World",
14
+ "author": "velopert",
15
+ "likes": 1
16
+ }
17
+ ```
18
+
19
+ 수정 후:
20
+
21
+ ```
22
+ {
23
+ "title": "Hello",
24
+ "contents": "Hello World",
25
+ "author": "velopert",
26
+ "likes": 1
27
+ }
28
+ ```
29
+
30
+ ### pg.32 [ (Issue #11 )] ( https://github.com/velopert/learning-react/issues/11 )
31
+ - 3번째 줄
32
+
33
+ 수정 전: 요소 개수가 ** 몇 백 개, 몇 천 개 단위로 많다면**
34
+
35
+ 수정 후: 요소 개수가 ** 몇백 개, 몇천 개** 단위로 많다면
36
+
37
+ ### pg.34 [ (Issue #11 )] ( https://github.com/velopert/learning-react/issues/11 )
38
+ - 2번째 줄
39
+
40
+ 수정 전: ** 다시 한 번** 강조하면
41
+
42
+ 수정 후: ** 다시한번** 강조하면
43
+
44
+ ### pg.41 [ (Issue #18 )] ( https://github.com/velopert/learning-react/issues/18 )
45
+
46
+ - react-beautify 확장 프로그램은 게시중단되었으므로 제거처리
47
+
48
+ ### pg.44 [ (Issue #19 )] ( https://github.com/velopert/learning-react/issues/19 )
49
+
50
+ - 노트 하단에 yarn start 대신 npm start 가 들어가있음
51
+
52
+ 수정 전:
53
+ ```
54
+ $ cd hello-react
55
+ $ npm start
56
+ ```
57
+
58
+ 수정 후:
59
+ ```
60
+ $ cd hello-react
61
+ $ yarn start
62
+ ```
63
+
64
+ ### pg.50[ (Issue #11 )] ( https://github.com/velopert/learning-react/issues/11 )
65
+ - 노트 부분
66
+
67
+ 수정 전: ** 구 버전**
68
+
69
+ 수정 후: ** 구버전**
70
+
71
+ ### pg.73 [ (Issue #2 )] ( https://github.com/velopert/learning-react/issues/2 ) ✅
5
72
- App.js 코드 6번째 줄
6
73
- 코드상에서는 React 이나 스크린샷에는 react
7
74
8
75
수정 전: ` <MyComponent name="React"/> `
9
76
10
77
수정 후: ` <MyComponent name="react"/> `
11
78
12
- 반영 날짜: 2018-08-07
79
+ ### pg.81 [ (Issue #14 )] ( https://github.com/velopert/learning-react/issues/14 )
80
+ 수정 전: ** 3.4.4** 절에서 작성한 버튼 코드를 다시 한 번 살펴봅시다
81
+
82
+ 수정 후: ** 3.3.4** 절에서 작성한 버튼 코드를 다시 한 번 살펴봅시다
13
83
14
- ### pg. 193 ([ Issue #4 ] ( https://github.com/velopert/learning-react/issues/4 ) )
84
+ ### pg.149 [ (Issue #21 )] ( https://github.com/velopert/learning-react/issues/21 )
85
+
86
+ - 페이지 하단 설명 부분 함수명이 잘못됨
87
+
88
+ 수정 전: 버튼을 렌더링하고, 누를 때마다 ** handleRandomizeColor** 메서드가 호출되게 이벤트를 설정하며
89
+
90
+ 수정 후: 버튼을 렌더링하고, 누를 때마다 ** handleClick** 메서드가 호출되게 이벤트를 설정하며
91
+
92
+ ### pg. 193 ([ Issue #4 ] ( https://github.com/velopert/learning-react/issues/4 ) ) ✅
15
93
- webpack.config.dev.js sass-loader 설정 두번째 줄
16
94
- css 여야 하는데 scss 라고 적힘
17
95
18
96
수정 전: ` test: /\.scss$/, `
19
97
20
98
수정 후: ` test: /\.scss$/, `
21
99
22
- ### pg. 199 ([ Issue #5 ] ( https://github.com/velopert/learning-react/issues/5 ) )
100
+ ### pg. 195 ([ Issue #12 ] ( https://github.com/velopert/learning-react/issues/12 ) )
101
+
102
+ - 10.1.2.5 메인 스타일 설정 파일 이름 잘못됨
103
+
104
+ 수정 전: ` src/styles/main.css `
105
+
106
+ 수정 후: ` src/styles/main.scss `
107
+
108
+ ### pg. 199 ([ Issue #5 ] ( https://github.com/velopert/learning-react/issues/5 ) ) ✅
23
109
- PageTemplate.js 파일 경로
24
110
- 경로에 PageTemplate/ 경로가 빠져있음
25
111
26
112
수정 전: ` src/components/PageTemplate.js `
27
113
28
114
수정 후 : ` src/components/PageTemplate/PageTemplate.js `
29
115
30
- ### pg. 292 ([ Issue #8 ] ( https://github.com/velopert/learning-react/issues/8 ) )
116
+ ### pg. 292 ([ Issue #8 ] ( https://github.com/velopert/learning-react/issues/8 ) ) ✅
31
117
- object1 이라고 적어야하는데 object 로 되어있음
32
118
33
119
수정 전:
@@ -59,7 +145,63 @@ let object2 = {
59
145
}
60
146
```
61
147
62
- ### pg. 445
148
+ ### pg.310 [ (Issue #13 )] ( https://github.com/velopert/learning-react/issues/13 ) 🚨
149
+
150
+ - 아이템 토글 / 삭제시 id 로 index 를 조회하는 부분이 누락됨
151
+
152
+ 변경 내역 Commit [ a3ada1e] ( https://github.com/velopert/learning-react/commit/a3ada1e5f96aba0c3e069d732952f4dcd0a5d1ad ) 참고
153
+
154
+ ### pg.339 [ (Issue #9 )] ( https://github.com/velopert/learning-react/issues/9 )
155
+ - 파일 이름에 경로가 빠짐
156
+
157
+ 수정 전: ` src/post.js `
158
+
159
+ 수정 후: ` src/modules/post.js `
160
+
161
+ ### pg.340 [ (Issue #9 )] ( https://github.com/velopert/learning-react/issues/9 )
162
+ - 파일 이름이 경로가 빠짐
163
+
164
+ 수정 전: ` src/index.js `
165
+
166
+ 수정 후: ` src/modules/index.js `
167
+
168
+ ### pg.363 [ (Issue #15 )] ( https://github.com/velopert/learning-react/issues/15 ) ☑️
169
+
170
+ 이 부분은 2쇄 때 전체적으로 수정이 될 부분인데, NODE_PATH 를 따로 설정하지 않고, .env 파일을 루트경로로 만들어서 NODE_PATH=src 라고 적어도 똑같이 작동합니다.
171
+
172
+ 20.1.5.1 에서도 이와 같은 방식으로 진행합니다.
173
+
174
+ NODE_PATH 를 명령어로 따로 설정해주면 yarn eject 하게 됐을 때 따로 코드를 수정해줘야하는 단점이 있습니다.
175
+
176
+ ### pg.411 [ (Issue 20)] ( https://github.com/velopert/learning-react/issues/20 ) ☑️
177
+
178
+ - 이 부분은 2쇄에서 추가 할 내용
179
+
180
+ 윈도우즈의 경우 linebreak-style 오류가 발생 할 수 있으니, 해당 검사를 끄거나
181
+
182
+ ```
183
+ module.exports = {
184
+ extends: 'airbnb-base',
185
+ rules: {
186
+ 'no-unused-vars': 1,
187
+ 'comma-dangle': 0,
188
+ 'eol-last': 0,
189
+ 'no-console': 0,
190
+ 'linebreak-style': ['error', 'windows']
191
+ }
192
+ };
193
+ ```
194
+
195
+ VSCode 설정에서
196
+
197
+ ```
198
+ "files.eol": "\n",
199
+ ```
200
+
201
+ 를 설정하도록 안내
202
+
203
+
204
+ ### pg. 445 ✅
63
205
- 맨 위 코드 .env 2번째 줄
64
206
- mongoose 버전 업데이트로 인하여 포트 포함 필요
65
207
@@ -75,7 +217,7 @@ let object2 = {
75
217
76
218
수정 후: ` mongoose.connect(mongoURI, { useNewUrlParser: true }); `
77
219
78
- ### pg.575 ([ Issue #1 ] ( https://github.com/velopert/learning-react/issues/1 ) )
220
+ ### pg.575 ([ Issue #1 ] ( https://github.com/velopert/learning-react/issues/1 ) ) ✅
79
221
- 맨 마지막 줄
80
222
- 괄호가 하나 빠짐
81
223
0 commit comments