Skip to content

Commit a0da446

Browse files
committed
hello world demo
1 parent 7edb683 commit a0da446

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

entry.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
import ReactDOM from 'react-dom';
44

55
ReactDOM.render(
6-
<Hello name='Freewind' />,
6+
<Hello />,
77
document.getElementById("content")
88
);
99

hello.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React,{Component} from 'react';
33
class Hello extends Component {
44
render() {
55
return <div>
6-
<h1>Hello {this.props.name}</h1>
6+
<h1>Hello Freewind</h1>
77
</div>;
88
}
99
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-es6-webpack-demo",
2+
"name": "react-hello-world-demo",
33
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",

0 commit comments

Comments
 (0)