I have written a basic code to start learning Reactjs. But I am getting below error in browser console after loading the web page. Also the web page is blank with no output being displayed.
TypeError: t(...).Object is undefined[Learn More] browser.min.js:8:31612
Below is the code :
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width-device-width, initial-scale-1" >
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.6.1 /react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.6.1/react-dom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/6.1.19/browser.min.js" ></script>
</head>
<body>
<div id="root"></div>
<script type="text/babel">
ReactDOM.render(<div>Sameer</div> , document.getElementById("root"));
</script>
</body>
</html>
Can someone please tell me if something is wrong in the code. I copied this code as it is from a online tutorial where it worked correctly.
/react/15.6.1 /react.js"></script>(spaces between/15.6.1andreact.js. React library can not be found.