Pass componentBlueprint to React.createClass as an argument. Now, React.createClass has everything it needs!

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Make sure that you are calling React.createClass(componentBlueprint).

```

var React = require(‘react’);
var ReactDOM = require(‘react-dom’);

var componentBlueprint = React.createClass({
render: function () {
return

Hello world

;
}
});

var MyComponentClass = React.createClass();

<do not remove the three backticks above>

I did just that and it still spitting out an error at me! What the heck am i doing wrong!?

Compare this to your code.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.