Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

document not intialized react js

import React from 'react';
import ReactDOM from 'react-dom';

var MainWrapper = React.createClass ({
    render: function() {
        return (
            <button>go</button>
        )
    }
});

React.render(<MainWrapper />, document.getElementById("root"));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #document #intialized #react #js
ADD COMMENT
Topic
Name
7+6 =