Help with Exercise 3 build a stateful component class


I have tried to rewrite my code many times but got the same error every time
This is my code:
var React = require ('React.js');
var ReactDOM = require ('ReactDOM.js');

var Parent = React.createClass(
render: function () {



var React=require('react");
var ReactDOM=require('react-dom');

var Parent=React.createClass({



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