Skip to content

Commit 5facf33

Browse files
committed
project
1 parent dbb2c12 commit 5facf33

File tree

8 files changed

+8816
-65
lines changed

8 files changed

+8816
-65
lines changed

.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
React Hello World Demo
2-
======================
1+
JavaScript React Base Demo (Latest)
2+
===================================
33

4-
Just say hello from react.
4+
Always update with latest versions and technologies.
55

66
```
77
npm install
8-
npm start
8+
npm run dev
99
```
1010

11-
Then visit <http://localhost:8080/webpack-dev-server/>.
11+
Then visit <http://localhost:8080/>.

entry.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import Hello from './hello.jsx';
2-
import React from 'react';
3-
import ReactDOM from 'react-dom';
1+
import Hello from './hello.jsx'
2+
import React from 'react'
3+
import ReactDOM from 'react-dom'
44

55
ReactDOM.render(
6-
<Hello />,
7-
document.getElementById("content")
8-
);
6+
<Hello/>,
7+
document.body
8+
)
99

hello.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import React,{Component} from 'react';
33
class Hello extends Component {
44
render() {
55
return <div>
6-
<h1>Hello Freewind</h1>
6+
<h1>Hello React</h1>
77
</div>;
88
}
99
}
1010

11-
export default Hello;
11+
export default Hello;

index.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)