Browse Source

fix HOC doc (#8802)

main
Superlaziness 8 years ago
committed by Dan Abramov
parent
commit
b2f388cd91
  1. 4
      docs/higher-order-components.md

4
docs/higher-order-components.md

@ -72,8 +72,8 @@ Later, you write a component for subscribing to a single blog post, which follow
```js
class BlogPost extends React.Component {
constructor() {
super();
constructor(props) {
super(props);
this.handleChange = this.handleChange.bind(this);
this.state = {
blogPost: DataSource.getBlogPost(props.id)

Loading…
Cancel
Save