摘要:
Currently in our main() function, we get click$ event. function main(sources) { const click$ = sources.DOM; const sinks = { DOM: click$ .startWith(nul 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
Remove: remove the wand with the name of "Doom Bringer" from our wandscollection. db.wands.remove({name: "Doom Bringer"}) >> WriteResult({'ngRemoved': 阅读全文
摘要:
When doing search function, you always need to consider about the concurrent requests. AEvent ----(6s)---> AResult ------(100ms)------- BEvent -----(1 阅读全文
摘要:
Previously, we wrote the Provider component by ourself: class Provider extends Component { getChildContext() { return { store: this.props.store }; } r 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文