We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d3309d commit 4a65734Copy full SHA for 4a65734
docs/api/connect.md
@@ -119,7 +119,7 @@ The second parameter is normally referred to as `ownProps` by convention.
119
120
```js
121
// binds on component re-rendering
122
-;<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
+<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
123
124
// binds on `props` change
125
const mapDispatchToProps = (dispatch, ownProps) => ({
0 commit comments