質問編集履歴
1
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -253,3 +253,27 @@
|
|
253
253
|
export default connect(null, mapDispatchToProps)(RegisterForm);
|
254
254
|
|
255
255
|
```
|
256
|
+
|
257
|
+
store?と思われるファイルのいちぶ
|
258
|
+
|
259
|
+
```
|
260
|
+
|
261
|
+
const logger = store => next => (action) => {
|
262
|
+
|
263
|
+
console.log('Redux logger:');
|
264
|
+
|
265
|
+
console.group(action.type);
|
266
|
+
|
267
|
+
console.info('Dispatching', action);
|
268
|
+
|
269
|
+
let result = next(action);
|
270
|
+
|
271
|
+
console.log('Next state', store.getState());
|
272
|
+
|
273
|
+
console.groupEnd(action.type);
|
274
|
+
|
275
|
+
return result;
|
276
|
+
|
277
|
+
};
|
278
|
+
|
279
|
+
```
|