Last step


#1

Please, can someone help me with last step, last step is:
"Pass componentBlueprint to React.createClass as an argument. Now, React.createClass has everything it needs!"
Thanks
code:
var React = require('react');
var ReactDOM = require('react-dom');

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

Hello world

;

}
});

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

Hello world

;

}

});


#2

Hi Jan,

Maybe someone will be able to work out what you are asking there, but it would be easier on the helpers if you tried posting again but this time use the template provided.

  1. go here https://discuss.codecademy.com/c/react-101/your-first-react-component
  2. click on + New Topic
  3. fill in the template
  4. someone will help

#3

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