摘要: A Subject is a type that implements both Observer and Observable types. As an Observer, it can subscribe to Observables, and as an Observable it can p 阅读全文
posted @ 2016-08-15 19:57 Zhentiw 阅读(243) 评论(0) 推荐(0)
摘要: When you are using React components you need to be able to access specific references to individual components. This is done by defining a ref. Notice 阅读全文
posted @ 2016-08-15 04:14 Zhentiw 阅读(156) 评论(0) 推荐(0)
摘要: When you're building your React components, you'll probably want to access child properties of the markup. In Angular, it is transcludion: In React, i 阅读全文
posted @ 2016-08-15 03:54 Zhentiw 阅读(154) 评论(0) 推荐(0)
摘要: The owner-ownee relationship is used to designate a parent-child relationship with React components as it differs from the DOM relationship. 阅读全文
posted @ 2016-08-15 03:42 Zhentiw 阅读(319) 评论(0) 推荐(0)
摘要: State is used for properties on a component that will change, versus static properties that are passed in. This lesson will introduce you to taking in 阅读全文
posted @ 2016-08-15 03:29 Zhentiw 阅读(159) 评论(0) 推荐(0)