import { Connect } from "dob-react" import * as React from 'react'; import { PureComponent } from '../../../utils/pure-render'; import { Props, State } from './index.type'; @Connect export default class Article extends PureComponent { public static defaultProps = new Props(); public state = new State(); public render() { return (
  • title: {this.props.article.title}

    author: {this.props.article.author}

    { this.props.ArticleAction.changeArticleTitle(this.props.index, event.currentTarget.value) }} />
  • ); } }