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.
2 parents 66d9286 + 13f43da commit acce6acCopy full SHA for acce6ac
README.md
@@ -267,7 +267,8 @@ export default connect()(TodoApp);
267
##### Inject `dispatch` and every field in the global state
268
269
>Don’t do this! It kills any performance optimisations because `TodoApp` will rerender after every action.
270
->It’s better to have more granular `connect()` on several components in your view hierarchy.
+>It’s better to have more granular `connect()` on several components in your view hierarchy that each only
271
+>listen to a relevant slice of the state.
272
273
```js
274
export default connect(state => state)(TodoApp);
0 commit comments