From d68fb9bd69dd09962371c132d7fa5bba595add45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Mon, 22 Sep 2014 14:41:18 -0700 Subject: [PATCH] Merge pull request #2180 from zpao/fix-2179 Reword Component API intro --- docs/docs/ref-02-component-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/ref-02-component-api.md b/docs/docs/ref-02-component-api.md index 41cb101b24..39ed1f834e 100644 --- a/docs/docs/ref-02-component-api.md +++ b/docs/docs/ref-02-component-api.md @@ -8,7 +8,7 @@ next: component-specs.html ## ReactComponent -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. +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. ### setState