File tree 2 files changed +24
-0
lines changed 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,18 @@ async function runTasks() {
171
171
+ 모두 제대로 작동한다면 16.1절로 돌아가서 다시 한번 개념을 훑어 보세요. 그리고 다음 내용을 계속 진행해주세요.
172
172
```
173
173
174
+ ## 17.6.1.2 (pg. 460)
175
+
176
+ ` REMOVE ` 액션 리듀서에서 ` action.payload ` 를 사용해야 하는데 ` action.id ` 를 사용하고 있습니다.
177
+
178
+ ``` diff
179
+ [REMOVE]: (state, action) => ({
180
+ ...state,
181
+ + todos: state.todo.filter(todo => todo.id !== action.payload)
182
+ - todos: state.todo.filter(todo => todo.id !== action.id)
183
+ })
184
+ ```
185
+
174
186
## 17.7.6 (pg. 470)
175
187
176
188
파일명이 잘못되었습니다.
Original file line number Diff line number Diff line change @@ -128,6 +128,18 @@ async function runTasks() {
128
128
}
129
129
```
130
130
131
+ ## 17.6.1.2 (pg. 460)
132
+
133
+ ` REMOVE ` 액션 리듀서에서 ` action.payload ` 를 사용해야 하는데 ` action.id ` 를 사용하고 있습니다.
134
+
135
+ ``` diff
136
+ [REMOVE]: (state, action) => ({
137
+ ...state,
138
+ + todos: state.todo.filter(todo => todo.id !== action.payload)
139
+ - todos: state.todo.filter(todo => todo.id !== action.id)
140
+ })
141
+ ```
142
+
131
143
## 20.3.2 (pg. 549-550) 업데이트
132
144
133
145
css-loader가 업데이트 됨에 따라 기존 ` exportOnlyLocals ` 라는 옵션이 ` onlyLocals ` 로 변경되었습니다.
You can’t perform that action at this time.
0 commit comments