You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/connect-extracting-data-with-mapStateToProps.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ function mapStateToProps(state, ownProps) {
62
62
};
63
63
64
64
// Later, in your application, a parent component renders:
65
-
<ConnectedTodo id=123} />
65
+
<ConnectedTodo id={123} />
66
66
// and your component receives props.id, props.todo, and props.visibilityFilter
67
67
```
68
68
@@ -251,4 +251,4 @@ function mapStateToProps(...args) {
251
251
- [Why Is My Component Re-Rendering Too Often?](https://redux.js.org/faq/reactredux#why-is-my-component-re-rendering-too-often)
252
252
- [Why isn't my component re-rendering, or my mapStateToProps running](https://redux.js.org/faq/reactredux#why-isnt-my-component-re-rendering-or-my-mapstatetoprops-running)
253
253
- [How can I speed up my mapStateToProps?](https://redux.js.org/faq/reactredux#why-is-my-component-re-rendering-too-often)
254
-
- [Should I only connect my top component, or can I connect multiple components in my tree?](https://redux.js.org/faq/reactredux#why-is-my-component-re-rendering-too-often)
254
+
- [Should I only connect my top component, or can I connect multiple components in my tree?](https://redux.js.org/faq/reactredux#why-is-my-component-re-rendering-too-often)
0 commit comments