上一页 1 ··· 437 438 439 440 441 442 443 444 445 ··· 468 下一页
摘要: 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) 编辑
摘要: React Lesson 0 阅读全文
posted @ 2015-03-23 03:01 Zhentiw 阅读(233) 评论(0) 推荐(0) 编辑
摘要: This lesson shows how to refactor your old loops into using a simpler and more powerful lodash-style. We will start by looking at how many people trad... 阅读全文
posted @ 2015-03-21 22:31 Zhentiw 阅读(418) 评论(0) 推荐(0) 编辑
摘要: In addition to flat Arrays, programmers must often deal with nested Arrays. For example let's say we have an Array of stock exchanges, each of which i 阅读全文
posted @ 2015-03-21 22:23 Zhentiw 阅读(310) 评论(0) 推荐(0) 编辑
摘要: Both map and filter do not modify the array. Instead they return a new array of the results. Because both map and filter return Arrays, we can chain t 阅读全文
posted @ 2015-03-21 22:16 Zhentiw 阅读(141) 评论(0) 推荐(0) 编辑
上一页 1 ··· 437 438 439 440 441 442 443 444 445 ··· 468 下一页