摘要: The previous lesson introduced the React component lifecycle mounting and unmounting. In this lesson you will learn some simple uses for these hooks. ... 阅读全文
posted @ 2015-03-24 23:01 Zhentiw 阅读(300) 评论(0) 推荐(0) 编辑
摘要: React components have a lifecycle, and you are able to access specific phases of that lifecycle. This lesson will introduce mounting and unmounting of... 阅读全文
posted @ 2015-03-24 22:45 Zhentiw 阅读(551) 评论(0) 推荐(0) 编辑
摘要: thetransferPropsTomethod lets you easily push properties into your components to easily customize attributes.From last two exmaples, we have BButton a... 阅读全文
posted @ 2015-03-24 17:23 Zhentiw 阅读(794) 评论(0) 推荐(0) 编辑
摘要: To get the add-ons, usereact-with-addons.js(and its minified counterpart) rather than the commonreact.js.https://facebook.github.io/react/docs/addons.... 阅读全文
posted @ 2015-03-24 17:05 Zhentiw 阅读(359) 评论(0) 推荐(0) 编辑
摘要: When you're building your React components, you'll probably want to access child properties of the markup.Parentcan read its children by accessing the... 阅读全文
posted @ 2015-03-24 16:53 Zhentiw 阅读(371) 评论(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 aref. ... 阅读全文
posted @ 2015-03-24 16:06 Zhentiw 阅读(491) 评论(0) 推荐(0) 编辑
摘要: The owner-ownee relationship is used to designate a parent-child relationship with React components as it differs from the DOM relationship.When one c... 阅读全文
posted @ 2015-03-24 02:56 Zhentiw 阅读(402) 评论(0) 推荐(0) 编辑
摘要: State is used for properties on a component thatwill change, versus static properties that are passed in. This lesson will introduce you to taking inp... 阅读全文
posted @ 2015-03-24 02:42 Zhentiw 阅读(325) 评论(0) 推荐(0) 编辑