上一页 1 ··· 435 436 437 438 439 440 441 442 443 ··· 491 下一页
摘要: 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 阅读(293) 评论(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 阅读(280) 评论(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 阅读(386) 评论(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 阅读(298) 评论(0) 推荐(0)
摘要: Previously, we wrote the Provider component by ourself: class Provider extends Component { getChildContext() { return { store: this.props.store }; } r 阅读全文
posted @ 2016-02-08 03:18 Zhentiw 阅读(569) 评论(0) 推荐(0)
摘要: We have to write a lot of boiler plate code to pass this chore down as a prop. But there is another way, using the advanced React feature called conte 阅读全文
posted @ 2016-02-05 22:27 Zhentiw 阅读(431) 评论(0) 推荐(0)
摘要: n the previous lessons, we used this tool to up level variable to refer to the Redux chore. The components that access this chore, such as the contain 阅读全文
posted @ 2016-02-05 19:17 Zhentiw 阅读(280) 评论(0) 推荐(0)
摘要: describe( 'Forgot Password: with username', ()=> { let dirElementInput; beforeEach( ()=> { // Find the input control: dirElementInput = directiveElem. 阅读全文
posted @ 2016-02-04 20:26 Zhentiw 阅读(264) 评论(0) 推荐(0)
摘要: Our application was able to produce write effects, through sinks, and was able to receive read effects, through the DOM sources. However, the main fun 阅读全文
posted @ 2016-02-04 17:44 Zhentiw 阅读(155) 评论(0) 推荐(0)
摘要: Clean TodoApp Component, it doesn't need to receive any props from the top level component: const TodoApp = () => ( <div> <AddTodo /> <VisibleTodoList 阅读全文
posted @ 2016-02-04 16:14 Zhentiw 阅读(200) 评论(0) 推荐(0)
上一页 1 ··· 435 436 437 438 439 440 441 442 443 ··· 491 下一页