Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export class TodoList extends React.Component<TodoListProps, TodoListState> {
- componentWillMount() {
- this.props.getAllTodos();
- }
- public render() {
- ...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement