React hello world progrma is not working

Tags: reactjs

As i am new to react and i am trying to make react a simple hello world in react but it is saying React.render is not a function

<meta charset="UTF-8">
<script src="[email protected]/dist/react.min.js"></script>
<script src="[email protected]/dist/react-dom.min.js"></script>

       React.render(React.createElement('div', null, 'Hello World'),document.body);


What used to be React.render() is now called ReactDOM.render():

ReactDOM.render(React.createElement('div', null, 'Hello World'),document.body)

You never explicitly initialize the contents of marked, or, more accurately, the contents of the array that it points to.

The loop in your constructor reads elements of marked to decide how to assign to color, but you never initialized the elements of marked being read.

Similiar argument for color and edgeTo.

This means that, while they may have had the expected initializations for the first case, may well be using whatever value happened to be there in later cases.

The descriptions are mandatory for any content you or any frameworks you link against attempt to access. The errors are generated upon an attempt to access the content if a usage description was not supplied, so if you're getting those errors your app must be requesting them. You should discover why your app or its frameworks require these and add appropriate usage descriptions to your app's info.plist.

Or more ideally, if you don't need access, see if there's a way to not request it (or use frameworks that do unnecessarily).

This video can help you solving your question :)
By: admin