<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="./js/react.js"></script>
<script src="./js/react-dom.js"></script>
<script src="./js/browser.min.js"></script>
</head>
<body>
<div id="demo"></div>
<script type="text/babel">
ReactDOM.render(<h1>Hello 夺命雷公狗</h1>,document.getElementById('demo'),function(){
alert('页面渲染完成');
});
</script>
</body>
</html>
效果如下所示: