摘要: 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 阅读(392) 评论(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 阅读(528) 评论(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 阅读(426) 评论(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 阅读(362) 评论(0) 推荐(0)
摘要: React Lesson 0 阅读全文
posted @ 2015-03-23 03:01 Zhentiw 阅读(261) 评论(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 阅读(453) 评论(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 阅读(345) 评论(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 阅读(173) 评论(0) 推荐(0)
摘要: One very common operation in programming is to iterate through an Array's contents, apply a test function to each item, and create a new array contain 阅读全文
posted @ 2015-03-21 22:12 Zhentiw 阅读(202) 评论(0) 推荐(0)
摘要: One very common operation in programming is to iterate through an Array's contents, apply a function to each item, and create a new array containing t 阅读全文
posted @ 2015-03-21 22:06 Zhentiw 阅读(130) 评论(0) 推荐(0)