上一页 1 ··· 426 427 428 429 430 431 432 433 434 ··· 477 下一页
摘要: The components inside of your container components can easily accept Observables. You simply define your custom @Input then use the Async pipe when yo 阅读全文
posted @ 2016-04-27 02:31 Zhentiw 阅读(597) 评论(0) 推荐(0)
摘要: Angular 2 allows you to pass values from inputs simply by referencing them in the template and passing them into your Subject.next() call. This lesson 阅读全文
posted @ 2016-04-27 02:00 Zhentiw 阅读(225) 评论(0) 推荐(0)
摘要: While action types allow you tell your reducer what action it should take, the payload is the data that your reducer will use to update the state. 阅读全文
posted @ 2016-04-27 01:52 Zhentiw 阅读(324) 评论(0) 推荐(0)
摘要: ngrx/store is a library that simplifies common RxJS patterns for managing state and gives you an easy api to use it within your Angular 2 application. 阅读全文
posted @ 2016-04-26 19:02 Zhentiw 阅读(316) 评论(0) 推荐(0)
摘要: While you have multiple streams flowing into your scan operator, you'll need to map each stream to the specific values you need to update your state t 阅读全文
posted @ 2016-04-26 18:14 Zhentiw 阅读(228) 评论(0) 推荐(0)
摘要: The scan operator in RxJS is the main key to managing values and states in your stream. Scan behaves just as a reduce function would, but scan is able 阅读全文
posted @ 2016-04-26 03:48 Zhentiw 阅读(273) 评论(0) 推荐(0)
摘要: Observable.merge allows you take two different source streams and use either one of them to make changes to the same state of your data. This lesson s 阅读全文
posted @ 2016-04-26 03:32 Zhentiw 阅读(191) 评论(0) 推荐(0)
摘要: While Angular 2 usually uses event handlers to manage events and RxJS typically uses Observable.fromEvent, a good practice when using Angular 2 and Rx 阅读全文
posted @ 2016-04-26 03:26 Zhentiw 阅读(263) 评论(0) 推荐(0)
摘要: Instead of simply pushing numbers on a timer into the template, now we'll move on to pushing actual Dates. We'll still use the Async pipe, but we'll a 阅读全文
posted @ 2016-04-26 03:17 Zhentiw 阅读(270) 评论(0) 推荐(0)
摘要: Angular 2 templates use a special Async pipe to be able to render out Observables. This lesson covers the syntax used to create an Observable in Angul 阅读全文
posted @ 2016-04-26 03:12 Zhentiw 阅读(779) 评论(0) 推荐(0)
上一页 1 ··· 426 427 428 429 430 431 432 433 434 ··· 477 下一页