Skip to content

Commit d68fb9b

Browse files
committed
Merge pull request facebook#2180 from zpao/fix-2179
Reword Component API intro
1 parent b814697 commit d68fb9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/ref-02-component-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ next: component-specs.html
88

99
## ReactComponent
1010

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.
1212

1313

1414
### setState

0 commit comments

Comments
 (0)