From 5d4c39e20cfc82529e33b49bbe71831bd6074125 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Wed, 15 Oct 2014 10:09:23 -0700 Subject: [PATCH] Fix typo in blog post --- _posts/2014-10-14-introducting-react-elements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2014-10-14-introducting-react-elements.md b/_posts/2014-10-14-introducting-react-elements.md index 17710dd2..0e5107eb 100644 --- a/_posts/2014-10-14-introducting-react-elements.md +++ b/_posts/2014-10-14-introducting-react-elements.md @@ -44,7 +44,7 @@ var reactDivElement = div(props, children); ## Deprecated: Auto-generated Factories -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`: +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`: ```javascript new MyComponent(); // Component, not ReactElement