{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-redux/issues/75","labels_url":"https://api.github.com/repos/rackt/react-redux/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-redux/issues/75/comments","events_url":"https://api.github.com/repos/rackt/react-redux/issues/75/events","html_url":"https://github.com/rackt/react-redux/issues/75","id":103420539,"number":75,"title":"Dumb/smart component pattern and repaints","user":{"login":"m4nuC","id":1518868,"avatar_url":"https://avatars.githubusercontent.com/u/1518868?v=3","gravatar_id":"","url":"https://api.github.com/users/m4nuC","html_url":"https://github.com/m4nuC","followers_url":"https://api.github.com/users/m4nuC/followers","following_url":"https://api.github.com/users/m4nuC/following{/other_user}","gists_url":"https://api.github.com/users/m4nuC/gists{/gist_id}","starred_url":"https://api.github.com/users/m4nuC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m4nuC/subscriptions","organizations_url":"https://api.github.com/users/m4nuC/orgs","repos_url":"https://api.github.com/users/m4nuC/repos","events_url":"https://api.github.com/users/m4nuC/events{/privacy}","received_events_url":"https://api.github.com/users/m4nuC/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-27T03:35:27Z","updated_at":"2015-08-27T06:14:46Z","closed_at":"2015-08-27T04:19:55Z","body":"Using the dumb/smart components pattern, does it mean that all dumb components will be re-rendered when the \"containers\" receive a new state notification ? For example in the the todo example adding a todo to the list will re-render the whole app. \r\n\r\nAre there any pattern to optimise repaints in a larger app ?"},"comment":{"url":"https://api.github.com/repos/rackt/react-redux/issues/comments/135304369","html_url":"https://github.com/rackt/react-redux/issues/75#issuecomment-135304369","issue_url":"https://api.github.com/repos/rackt/react-redux/issues/75","id":135304369,"user":{"login":"m4nuC","id":1518868,"avatar_url":"https://avatars.githubusercontent.com/u/1518868?v=3","gravatar_id":"","url":"https://api.github.com/users/m4nuC","html_url":"https://github.com/m4nuC","followers_url":"https://api.github.com/users/m4nuC/followers","following_url":"https://api.github.com/users/m4nuC/following{/other_user}","gists_url":"https://api.github.com/users/m4nuC/gists{/gist_id}","starred_url":"https://api.github.com/users/m4nuC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m4nuC/subscriptions","organizations_url":"https://api.github.com/users/m4nuC/orgs","repos_url":"https://api.github.com/users/m4nuC/repos","events_url":"https://api.github.com/users/m4nuC/events{/privacy}","received_events_url":"https://api.github.com/users/m4nuC/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T06:14:46Z","updated_at":"2015-08-27T06:14:46Z","body":">That said, the footer in this example shows the todo count so it rightly does need to be re-rendered. but I believe that is beside your point.\r\n\r\nAre we talking about the same example ? \r\n![image](https://cloud.githubusercontent.com/assets/1518868/9513666/09103b12-4cc5-11e5-8d8b-82d97c729b76.png)\r\n\r\n>This is a consequence of how React works, and react-redux actually improves the situation. In no way does connect cause there to be additional re-renders of the entire app tree that you wouldn't experience if you simply mutated a prop or state on a similarly positioned component.\r\n\r\nMy question is more about the dumb/smart component pattern. Is it correct to say that smart components re-render all their nested dumb components when state updates ? If so it's worth taking into account when structuring the app."}}