摘要:
Add another reducer: Added a 'people' reducer, defined a 'defaultPeople' as default state. In bootstrap, add people reducer to the provideStore(). The 阅读全文
posted @ 2016-04-27 21:06
Zhentiw
阅读(211)
评论(0)
推荐(0)
摘要:
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
阅读(576)
评论(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
阅读(210)
评论(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
阅读(307)
评论(0)
推荐(0)

浙公网安备 33010602011771号