Fix typo in blog post
Ben Alpert committed
Oct 15, 2014 at 10:09 UTC
b8229cc7610701f9736ae0cf8addea354cd9d33e
1 file changed
+1
-1
docs/_posts/2014-10-14-introducting-react-elements.md
+1
-1
@@ -44,7 +44,7 @@ var reactDivElement = div(props, children);
44
45
## Deprecated: Auto-generated Factories
46
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`:
48
49
```javascript
50
new MyComponent(); // Component, not ReactElement