Skip to content

Commit db5357f

Browse files
committed
removed pg.32 correction, updated mongoose part correction
1 parent 497afd3 commit db5357f

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

corrections.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@
2727
}
2828
```
2929

30-
### pg.32 [(Issue #11)](https://github.com/velopert/learning-react/issues/11)
31-
- 3번째 줄
32-
33-
수정 전: 요소 개수가 **몇 백 개, 몇 천 개 단위로 많다면**
34-
35-
수정 후: 요소 개수가 **몇백 개, 몇천 개** 단위로 많다면
3630

3731
### pg.34 [(Issue #11)](https://github.com/velopert/learning-react/issues/11)
3832
- 2번째 줄
@@ -76,7 +70,7 @@ $ yarn start
7670

7771
수정 후: `<MyComponent name="react"/>`
7872

79-
### pg.81 [(Issue #14)](https://github.com/velopert/learning-react/issues/14)
73+
### pg.91 [(Issue #14)](https://github.com/velopert/learning-react/issues/14)
8074
수정 전: **3.4.4**절에서 작성한 버튼 코드를 다시 한 번 살펴봅시다
8175

8276
수정 후: **3.3.4**절에서 작성한 버튼 코드를 다시 한 번 살펴봅시다
@@ -207,15 +201,15 @@ VSCode 설정에서
207201

208202
수정 전: `MONGO_URI=mongodb://localhost/blog`
209203

210-
수정 후: `MONGO_URI=mongodb://localost:27017/blog`
204+
수정 후: `MONGO_URI=mongodb://localhost:27017/blog`
211205

212206
### pg. 446
213207
- src/index.js 코드 8번째 줄
214208
- mongoose 버전 업데이트로 인하여 useNewUrlParser 옵션 추가
215209

216-
수정 전: `mongoose.connect(mongoURI);`
210+
수정 전: `mongoose.connect(mongoURI).then(...)`
217211

218-
수정 후: `mongoose.connect(mongoURI, { useNewUrlParser: true });`
212+
수정 후: `mongoose.connect(mongoURI, { useNewUrlParser: true }).then(...)`
219213

220214
### pg.575 ([Issue #1](https://github.com/velopert/learning-react/issues/1)) ✅
221215
- 맨 마지막 줄

0 commit comments

Comments
 (0)