Skip to content

Commit 64d2684

Browse files
committed
Update corrections
1 parent a7257f0 commit 64d2684

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

corrections.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pg. 443-444
2020
pg. 445
2121
pg. 474
2222
pg. 479
23-
pg. 481
23+
pg. 480-481
2424
pg. 484
2525
pg. 507
2626
pg. 509
@@ -30,8 +30,39 @@ pg. 580
3030
pg. 723
3131
pg. 730-731
3232
pg. 768
33+
pg. 799-800
3334
pg. 893
3435

36+
## 8.2.3 오탈자 pg.197
37+
38+
useEffect 부분에 deps 배열이 빠져있습니다.
39+
40+
```javascript
41+
useEffect(() => {
42+
console.log('effect');
43+
console.log(name);
44+
return () => {
45+
console.log('cleanup');
46+
console.log(name);
47+
};
48+
}, [name]);
49+
```
50+
51+
## 8.2.3 오탈자 pg.199
52+
53+
배열을 비워야 합니다.
54+
55+
```javascript
56+
useEffect(() => {
57+
console.log('effect');
58+
console.log(name);
59+
return () => {
60+
console.log('cleanup');
61+
console.log(name);
62+
};
63+
}, []);
64+
```
65+
3566
### 20.3.2 업데이트 (pg.546 - pg.547)
3667

3768
CRA 업데이트됨에 따라 paths 파일이 변경되었습니다.
@@ -235,3 +266,17 @@ module.exports = {
235266
],
236267
}
237268
```
269+
270+
## 22.9.2 업데이트 pg.669
271+
272+
@hapi/joi 에서 joi 로 변경되었습니다.
273+
274+
```
275+
$ yarn add @hapi/joi
276+
```
277+
278+
```javascript
279+
import Joi from 'joi';
280+
```
281+
282+
영향 가는 페이지: 691, 861, 862,

0 commit comments

Comments
 (0)