redux -logger中间件,实现的功能是打印出一个action发出之后,state的更改的过程。一个简单的事例. actions.js. let nextTodoId = 0 export const addTodo = (text) ...
確定! 回上一頁