上一页 1 ··· 442 443 444 445 446 447 448 449 450 ··· 499 下一页
摘要: Somtimes, the project might set the commit message guide line, if your commit doesn't meet the requirement, ghook will reject it. If you really not su 阅读全文
posted @ 2016-02-14 01:43 Zhentiw 阅读(3357) 评论(0) 推荐(0)
摘要: When you want to push your local branch to remote branch, for the first push: git push --set-upstream origin <branch_name> The reason to set 'up-strea 阅读全文
posted @ 2016-02-14 01:34 Zhentiw 阅读(658) 评论(0) 推荐(0)
摘要: We will create an anction creator to manage the dispatch actions, to keep code maintainable and self-documenting by extracting action creators from th 阅读全文
posted @ 2016-02-12 03:32 Zhentiw 阅读(237) 评论(0) 推荐(0)
摘要: Code to be refactored: class FilterLink extends Component { componentDidMount() { const { store } = this.context; this.unsubscribe = store.subscribe(( 阅读全文
posted @ 2016-02-12 03:15 Zhentiw 阅读(371) 评论(0) 推荐(0)
摘要: Code to be refacted: const AddTodo = (props, { store }) => { let input; return ( <div> <input ref={node => { input = node; }} /> <button onClick={() = 阅读全文
posted @ 2016-02-12 02:43 Zhentiw 阅读(508) 评论(0) 推荐(0)
摘要: Currently in our main() function, we get click$ event. function main(sources) { const click$ = sources.DOM; const sinks = { DOM: click$ .startWith(nul 阅读全文
posted @ 2016-02-09 20:24 Zhentiw 阅读(260) 评论(0) 推荐(0)
摘要: Our previous toy DOM Driver is still primitive. We are only able to sends strings as the textContent of the container element. We cannot yet create he 阅读全文
posted @ 2016-02-09 19:37 Zhentiw 阅读(313) 评论(0) 推荐(0)
摘要: Learn how to use the that comes with React Redux instead of the hand-rolled implementation from the previous lesson. Code to be refactored: class Visi 阅读全文
posted @ 2016-02-09 03:17 Zhentiw 阅读(294) 评论(0) 推荐(0)
摘要: Remove: remove the wand with the name of "Doom Bringer" from our wandscollection. db.wands.remove({name: "Doom Bringer"}) >> WriteResult({'ngRemoved': 阅读全文
posted @ 2016-02-09 00:26 Zhentiw 阅读(401) 评论(0) 推荐(0)
摘要: When doing search function, you always need to consider about the concurrent requests. AEvent ----(6s)---> AResult ------(100ms)------- BEvent -----(1 阅读全文
posted @ 2016-02-08 21:39 Zhentiw 阅读(315) 评论(0) 推荐(0)
上一页 1 ··· 442 443 444 445 446 447 448 449 450 ··· 499 下一页