commit
fd95abaf3c
2
react.md
2
react.md
|
@ -17,7 +17,7 @@ layout: default
|
||||||
|
|
||||||
var Component = React.createClass({ ... });
|
var Component = React.createClass({ ... });
|
||||||
|
|
||||||
var compo = React.renderComponent(Component(), mountnode);
|
var compo = React.render(<Component />, mountnode);
|
||||||
|
|
||||||
### [API](http://facebook.github.io/react/docs/component-api.html)
|
### [API](http://facebook.github.io/react/docs/component-api.html)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue