I'm just using script tags to bring in the libraries. The examples cited are using require. Is there a way to avoid that? The other libraries seem to load fine.
I know this is depreciated but still wondering how to get the following example working:
<!DOCTYPE html>
<html>
<head>
<script crossorigin src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.26.0/babel.min.js"></script>
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/create-react-class@15.6.2/create-react-class.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<title>React Example</title>
</head>
<body>
<div id='container'></div>
<script type='text/jsx'>
var HelloComponent2 = React.createClass({
render: function() {
return (
<h1>Hello, classical</h1>
);
}
});
ReactDOM.render(
<HelloComponent2 name='Blobby0' />,
document.getElementById('container')
);
</script>
</body>
</html>