mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
context demo works
This commit is contained in:
@@ -18,6 +18,7 @@ export class TodoApp extends React.Component<any, Store> {
|
||||
filter: 'all'
|
||||
};
|
||||
}
|
||||
|
||||
render() {
|
||||
const { filter, todos } = this.state;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user