mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Add missing verb
This adds a missing verb in JSX-in-depth doc.
This commit is contained in:
@@ -29,7 +29,7 @@ var myDivElement = <div className="foo" />;
|
||||
React.render(myDivElement, document.body);
|
||||
```
|
||||
|
||||
To render a React Component, just a local variable that starts with an upper-case letter:
|
||||
To render a React Component, just create a local variable that starts with an upper-case letter:
|
||||
|
||||
```javascript
|
||||
var MyComponent = React.createClass({/*...*/});
|
||||
|
||||
Reference in New Issue
Block a user