{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/redux/issues/1385","repository_url":"https://api.github.com/repos/rackt/redux","labels_url":"https://api.github.com/repos/rackt/redux/issues/1385/labels{/name}","comments_url":"https://api.github.com/repos/rackt/redux/issues/1385/comments","events_url":"https://api.github.com/repos/rackt/redux/issues/1385/events","html_url":"https://github.com/rackt/redux/issues/1385","id":132819652,"number":1385,"title":"What are the disadvantages of storing all your state in a single immutable atom?","user":{"login":"AriaFallah","id":9424976,"avatar_url":"https://avatars.githubusercontent.com/u/9424976?v=3","gravatar_id":"","url":"https://api.github.com/users/AriaFallah","html_url":"https://github.com/AriaFallah","followers_url":"https://api.github.com/users/AriaFallah/followers","following_url":"https://api.github.com/users/AriaFallah/following{/other_user}","gists_url":"https://api.github.com/users/AriaFallah/gists{/gist_id}","starred_url":"https://api.github.com/users/AriaFallah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AriaFallah/subscriptions","organizations_url":"https://api.github.com/users/AriaFallah/orgs","repos_url":"https://api.github.com/users/AriaFallah/repos","events_url":"https://api.github.com/users/AriaFallah/events{/privacy}","received_events_url":"https://api.github.com/users/AriaFallah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rackt/redux/labels/discussion","name":"discussion","color":"fbca04"},{"url":"https://api.github.com/repos/rackt/redux/labels/docs","name":"docs","color":"5319e7"},{"url":"https://api.github.com/repos/rackt/redux/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-10T21:16:49Z","updated_at":"2016-02-10T23:34:12Z","closed_at":null,"body":"I understand that this is the principle underlying all of redux, and that it comes with all these awesome benefits that are pretty well known by now.\r\n\r\nHowever, I feel that one place that redux is lacking in, is that it doesn't openly describe the conceptual disadvantages of using this architecture. Perhaps this is a good choice since you want people to not shy away due to the negatives.\r\n\r\nI'm just curious because it applies not just to redux, but in some capacity to other things like [Om](https://github.com/omcljs/om), [datomic](http://www.datomic.com/) and that [talk about turning the database inside out](https://www.youtube.com/watch?v=fU9hR3kiOK0). I like redux, I like Om, I'm interested in datomic, and I really liked that talk.\r\n\r\nBut for all the searching I've done, it's hard to find people critical of the single immutable store. [This](http://staltz.com/why-react-redux-is-an-inferior-paradigm.html) is an example, but it just seems to have a problem more with the verbosity of redux than with the actual architecture.\r\n\r\nThe only things I can think of is that perhaps it takes more memory to keep storing copies of your state, or that it's a little harder to rapidly protoype with redux.\r\n\r\nBecause you guys have probably put a lot more thought into this than I have, could you help elucidate this for me?"},"comment":{"url":"https://api.github.com/repos/rackt/redux/issues/comments/182635554","html_url":"https://github.com/rackt/redux/issues/1385#issuecomment-182635554","issue_url":"https://api.github.com/repos/rackt/redux/issues/1385","id":182635554,"user":{"login":"AriaFallah","id":9424976,"avatar_url":"https://avatars.githubusercontent.com/u/9424976?v=3","gravatar_id":"","url":"https://api.github.com/users/AriaFallah","html_url":"https://github.com/AriaFallah","followers_url":"https://api.github.com/users/AriaFallah/followers","following_url":"https://api.github.com/users/AriaFallah/following{/other_user}","gists_url":"https://api.github.com/users/AriaFallah/gists{/gist_id}","starred_url":"https://api.github.com/users/AriaFallah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AriaFallah/subscriptions","organizations_url":"https://api.github.com/users/AriaFallah/orgs","repos_url":"https://api.github.com/users/AriaFallah/repos","events_url":"https://api.github.com/users/AriaFallah/events{/privacy}","received_events_url":"https://api.github.com/users/AriaFallah/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T23:34:12Z","updated_at":"2016-02-10T23:34:12Z","body":"This question I just saw on SO:\r\n\r\nhttp://stackoverflow.com/questions/35328056/react-redux-should-all-component-states-be-kept-in-redux-store\r\n\r\nAlso echos some confusion I've seen about managing UI state, and whether the UI state should belong to the component or go into the store."}}