We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8537430 commit b338459Copy full SHA for b338459
README.md
@@ -7,4 +7,9 @@ npm start
7
```
8
and go to [http://localhost:3000](http://localhost:3000)
9
10
+作業目標:
11
+* 完成 Todo App 包含以下功能:
12
+ * 新增 Todo
13
+ * 刪除 Todo
14
+
15
環境需求:Node.js 6.10 以上
root.js
@@ -1,6 +1,6 @@
1
import React from 'react'
2
import ReactDOM from 'react-dom'
3
4
-import TodoApp from './src/TodoApp.jsx'
+import App from './src/App.jsx'
5
6
-ReactDOM.render(<TodoApp/>, document.getElementById('root'));
+ReactDOM.render(<App/>, document.getElementById('root'));
src/TodoApp.jsx renamed to src/App.jsx
@@ -7,7 +7,7 @@ class TodoApp extends React.Component {
return (
<div>
<h2>Todo App</h2>
- asdasasd
+ 123
</div>
);
}
0 commit comments