quasqui
Version:
The meta-framework suite designed from scratch for frontend-focused modern web development.
23 lines (22 loc) • 483 B
HTML
<html>
<head>
<title>Simple</title>
</head>
<body>
<div id="root"></div>
<script type="module">
import React from '/dist/react.js';
import ReactDOM from '/dist/react-dom.js';
const App = React.createElement(
'div',
{
className: 'hello-world',
},
'hello world'
);
const $root = document.getElementById('root');
ReactDOM.render(App, $root);
</script>
</body>
</html>