This project builds on create-react-app framework.
Add onClick to the button in TodoForm.js
Merge TodoList and DoneList into List
Change the way state updated:
this.setState(preState => ({
todoItems: ...
doneItems: ...
}))
Type your task and enter (or click Add), your task will hang in "Scheduled".
Click a task in "Scheduled" and it will be moved to "Completed".
Click a task in "Completed" then it will be removed.
TodoApp
TodoForm
TodoList
ListItem 1
ListItem 2
...
DoneList
ListItem 3
ListItem 4
...