Browse Source

Remove erroneous line about static methods.

main
Kunal Mehta 11 years ago
parent
commit
21e0ca5b8e
  1. 2
      tips/16-references-to-components.md

2
tips/16-references-to-components.md

@ -16,8 +16,6 @@ var myComponent = React.renderComponent(<MyComponent />, myContainer);
Keep in mind, however, that the "constructor" of a component doesn't return a component instance! It's just a **descriptor**: a lightweight representation that tells React what the mounted component should look like.
Descriptors also contain any methods that you define in the [statics](http://facebook.github.io/react/docs/component-specs.html#statics) property of the component.
```js
/** @jsx React.DOM */

Loading…
Cancel
Save