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 66d9286 commit 13f43daCopy full SHA for 13f43da
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