Skip to content

Commit c0366d6

Browse files
committed
Update 199
1 parent d57b712 commit c0366d6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

corrections.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,23 @@
88
- [개정판-3쇄.md](https://github.com/velopert/learning-react/blob/master/_old_corrections/%EA%B0%9C%EC%A0%95%ED%8C%90-3%EC%87%84.md)
99
- [개정판-4쇄.md](https://github.com/velopert/learning-react/blob/master/_old_corrections/%EA%B0%9C%EC%A0%95%ED%8C%90-4%EC%87%84.md)
1010

11+
### 8.2.3 (pg. 199) 개선
12+
13+
기존의 설명에서 사용되던 코드가 적절하지 않아 코드를 변경합니다.
14+
15+
Info.js - useEffect
16+
17+
```javascript
18+
useEffect(() => {
19+
console.log('effect');
20+
return () => {
21+
console.log('unmount');
22+
};
23+
}, []);
24+
```
25+
26+
> 'unmount' 부분 볼드 처리 부탁합니다.
27+
1128
### 9.2 업데이트 (pg. 224)
1229

1330
node-sass 최신 버전이 현재 create-react-app에서 작동하지 않습니다. 따라서, 구버전을 설치해야 합니다.

0 commit comments

Comments
 (0)