摘要:
/** * A reducer for a single todo * @param state * @param action * @returns {*} */const todo = ( state, action ) => { switch ( action.type ) { ... 阅读全文
posted @ 2016-01-12 19:49
Zhentiw
阅读(417)
评论(0)
推荐(0)
摘要:
Learn how to create a React todo list application using the reducers we wrote before./** * A reducer for a single todo * @param state * @param action ... 阅读全文
posted @ 2016-01-12 18:11
Zhentiw
阅读(413)
评论(0)
推荐(0)
摘要:
Sometimes we want to test our Redux reducers to make sure they work as expected. In this lesson we will walk through setting up some Redux reducer tes... 阅读全文
posted @ 2016-01-12 03:21
Zhentiw
阅读(236)
评论(0)
推荐(0)

浙公网安备 33010602011771号