Skip to content

Commit

Permalink
Reword Component API intro
Browse files Browse the repository at this point in the history
  • Loading branch information
zpao committed Sep 22, 2014
1 parent 8cd460c commit eafe786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/ref-02-component-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eafe786

Please sign in to comment.