{"action":"created","issue":{"url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/38","labels_url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/38/comments","events_url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/38/events","html_url":"https://github.com/gaearon/flux-react-router-example/issues/38","id":96072880,"number":38,"title":"Port to Redux","user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-20T14:11:15Z","updated_at":"2015-08-22T12:06:57Z","closed_at":"2015-08-22T12:06:01Z","body":"I intend to port this example to [Redux](http://github.com/gaearon/redux).\r\n\r\nI'm not doing that to promote my library, but because reusable store utilities (like pagination) are _way_ easier to implement as pure functions. What I have right now in [`PaginatedStoreUtils`](https://github.com/gaearon/flux-react-router-example/blob/master/scripts/utils/PaginatedStoreUtils.js) is a mess, and will be much more sensible with Redux approach.\r\n\r\nHowever, I understand that not everybody will be happy with this change, as [Redux is not _exactly_ Flux](https://medium.com/@dan_abramov/the-evolution-of-flux-frameworks-6c16ad26bb31). I think it solves the same problems better than Flux, but that's my opinion and some may not share it.\r\n\r\nTherefore I ask what you think:\r\n\r\n* Should I rename the repository to reflect that it's a Redux example now?\r\n* Should I keep the old vanilla Flux code in a branch?\r\n\r\nTo clarify again:\r\n\r\n* I intend to keep it minimal, just like the current repo, and handle the same cases: pagination, “load more”, spinners.\r\n* The “content stores” / “list stores” distinction will be even clearer with reusable reducers.\r\n* This is not an artificial effort to port for the sake of porting. The code will be clearer after porting to Redux, and the idioms currently used by the code will be more apparent and natural.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/comments/133684230","html_url":"https://github.com/gaearon/flux-react-router-example/issues/38#issuecomment-133684230","issue_url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/38","id":133684230,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T12:06:57Z","updated_at":"2015-08-22T12:06:57Z","body":"The Redux port is here: https://github.com/rackt/redux/tree/master/examples/real-world"}}