Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fcde2eb

Browse files
sophiebitszpao
authored andcommitted
Fix typo in blog post
1 parent d3d5b70 commit fcde2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_posts/2014-10-14-introducting-react-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var reactDivElement = div(props, children);
4444

4545
## Deprecated: Auto-generated Factories
4646

47-
Imagine if `React.createClass` was just a plain JavaScript class. If you call a class as a plain function you would call the component's constructor to create an Component instance, not a `ReactElement`:
47+
Imagine if `React.createClass` was just a plain JavaScript class. If you call a class as a plain function you would call the component's constructor to create a Component instance, not a `ReactElement`:
4848

4949
```javascript
5050
new MyComponent(); // Component, not ReactElement

0 commit comments

Comments
 (0)