-
Notifications
You must be signed in to change notification settings - Fork 44
/
RADWIMPS_react.html
56 lines (56 loc) · 1.79 KB
/
RADWIMPS_react.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<html>
<head>
<title>RADWIMPS</title>
<!-- React Library -->
<script
src="https://unpkg.com/[email protected]/umd/react.production.min.js"
integrity="sha384-7Er69WnAl0+tY5MWEvnQzWHeDFjgHSnlQfDDeWUvv8qlRXtzaF/pNo18Q2aoZNiO"
crossorigin
></script>
<script
src="https://unpkg.com/[email protected]/umd/react-dom.production.min.js"
integrity="sha384-vj2XpC1SOa8PHrb0YlBqKN7CQzJYO72jz4CkDQ+ePL1pwOV4+dn05rPrbLGUuvCv"
crossorigin
></script>
<script
src="https://unpkg.com/@babel/[email protected]/babel.min.js"
integrity="sha384-5a7c5/GkaCITOh374LENmvBVmw8ts0nszrwqZcCTAhsLvTruncpgJvabCBiaxolO"
crossorigin
></script>
</head>
<body>
<div id="app"></div>
<script type="text/babel">
class Then extends React.Component{
render(){
return(
<>
前
{this.props.children}
</>
);
}
};
class 世 extends React.Component{
render(){
return(
<>
世
<br />
</>
);
}
};
ReactDOM.render(
<Then>
<Then>
<Then>
<世 />
</Then>
</Then>
</Then>,
document.getElementById('app')
)
</script>
</body>
</html>