@samitouri / QOS-React-2 / commits / eafe786aef

Reword Component API intro

Fixes #2179

Paul O’Shannessy committed Sep 11, 2014 at 10:31 UTC eafe786aeff8bddca71ce09c3712588ca69fb801
1 file changed +1 -1
docs/docs/ref-02-component-api.md
+1 -1
@@ -8,7 +8,7 @@ next: component-specs.html
8
9 ## ReactComponent
10
11 -Component classes created by `React.createClass()` return instances of `ReactComponent` when called. Most of the time when you're using React you're either creating or consuming these component objects.
11 +Instances of a React Component are created internally in React when rendering. These instances are reused in subsequent renders, and can be accessed in your component methods as `this`. The only way to get a handle to a React Component instance outside of React is by storing the return value of `React.renderComponent`. Inside other Components, you may use [refs](/react/docs/more-about-refs.html) to achieve the same result.
12
13
14 ### setState