摘要: console.clear();const counter = (state = 0, action) => { switch (action.type) { case 'INCREMENT': return state + 1; case 'DECREMENT': ... 阅读全文
posted @ 2015-11-25 03:17 Zhentiw 阅读(1014) 评论(0) 推荐(0)
摘要: Single immutable state tree: Should be just one single javascript object.Describing the changes by action: every change in the application state as ... 阅读全文
posted @ 2015-11-25 03:03 Zhentiw 阅读(208) 评论(0) 推荐(0)