context demo works

This commit is contained in:
Ken
2019-03-02 21:23:22 -08:00
parent b91914e1d8
commit 4be1dcdae9
13 changed files with 326 additions and 20 deletions

View File

@@ -18,6 +18,7 @@ export class TodoApp extends React.Component<any, Store> {
filter: 'all'
};
}
render() {
const { filter, todos } = this.state;
return (