摘要: install Polymer and explore creating our first custom element: bower install polymerindex.html: Polymer include webcomponents-list.j... 阅读全文
posted @ 2015-12-22 03:13 Zhentiw 阅读(251) 评论(0) 推荐(0) 编辑
摘要: The combineReducers function we used in previous post:const todoApp = combineReducers({ todos, visibilityFilter});It accepts and object as agruement... 阅读全文
posted @ 2015-12-22 02:57 Zhentiw 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Previous, we do composition with objects:const todoApp = (state = {}, action) => { return { todos: todos( state.todos, action ), v... 阅读全文
posted @ 2015-12-22 02:24 Zhentiw 阅读(288) 评论(0) 推荐(0) 编辑