上一页 1 ··· 357 358 359 360 361 362 363 364 365 ··· 498 下一页
摘要: Copy/pasting the same code is redundant and updating copy/pasted code slows development velocity. Mixins are reusable chunks of code that are included 阅读全文
posted @ 2017-04-25 03:55 Zhentiw 阅读(328) 评论(0) 推荐(0)
摘要: For example, we have a component which just simply render router-outlet: We can add events to router-outlet: When we log out the, we see the actual co 阅读全文
posted @ 2017-04-25 03:08 Zhentiw 阅读(577) 评论(0) 推荐(0)
摘要: In our root component, one thing we can do is subscribe to Router events, and do something related to router events. So how can we get router event? T 阅读全文
posted @ 2017-04-25 02:54 Zhentiw 阅读(913) 评论(0) 推荐(0)
摘要: To enable router tracing is really simple: When we define the root RouterModule, we can pass the option "enableTracing". What we you get is when we na 阅读全文
posted @ 2017-04-25 02:45 Zhentiw 阅读(655) 评论(0) 推荐(0)
摘要: Add 'stage' which we can know what is the progress in a high level way: 'sh' is for any shell commands. Pipeline is written in Rudy, so can use rudy s 阅读全文
posted @ 2017-04-24 04:16 Zhentiw 阅读(259) 评论(0) 推荐(0)
摘要: Learn the basic syntax for using grep to search the contents of a single file or files. It's like CMD+F, but better! You'll be able to quickly see all 阅读全文
posted @ 2017-04-23 02:17 Zhentiw 阅读(516) 评论(0) 推荐(0)
摘要: We can create volumn to keep the data, even we stop the container and restart again, the data won't get lost. To create a link between the folder /my- 阅读全文
posted @ 2017-04-21 19:48 Zhentiw 阅读(556) 评论(0) 推荐(0)
摘要: If you want to get into container and look around, you can use: to run against a running container. And to do that, we need to know the id / name of t 阅读全文
posted @ 2017-04-21 19:27 Zhentiw 阅读(280) 评论(0) 推荐(0)
摘要: In this lesson we'll take a stateful React component and look at how we can refactor our setState calls to use an updater function and then leverage R 阅读全文
posted @ 2017-04-21 04:01 Zhentiw 阅读(253) 评论(0) 推荐(0)
摘要: In this lesson, we'll refactor a React component to use Ramda lenses to update our component state. We'll create a lens to focus on the property we wa 阅读全文
posted @ 2017-04-21 03:49 Zhentiw 阅读(400) 评论(0) 推荐(0)
上一页 1 ··· 357 358 359 360 361 362 363 364 365 ··· 498 下一页