{"action":"closed","issue":{"url":"https://api.github.com/repos/goatslacker/iso/issues/16","labels_url":"https://api.github.com/repos/goatslacker/iso/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/goatslacker/iso/issues/16/comments","events_url":"https://api.github.com/repos/goatslacker/iso/issues/16/events","html_url":"https://github.com/goatslacker/iso/issues/16","id":87126312,"number":16,"title":"Populating stores automatically?","user":{"login":"commandtab","id":3069,"avatar_url":"https://avatars.githubusercontent.com/u/3069?v=3","gravatar_id":"","url":"https://api.github.com/users/commandtab","html_url":"https://github.com/commandtab","followers_url":"https://api.github.com/users/commandtab/followers","following_url":"https://api.github.com/users/commandtab/following{/other_user}","gists_url":"https://api.github.com/users/commandtab/gists{/gist_id}","starred_url":"https://api.github.com/users/commandtab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commandtab/subscriptions","organizations_url":"https://api.github.com/users/commandtab/orgs","repos_url":"https://api.github.com/users/commandtab/repos","events_url":"https://api.github.com/users/commandtab/events{/privacy}","received_events_url":"https://api.github.com/users/commandtab/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-10T22:15:48Z","updated_at":"2015-06-16T16:54:03Z","closed_at":"2015-06-16T16:54:03Z","body":"I'm still learning React and Flux (with alt and iso), but I'm wondering if there's a way to approach the initial server-side render without having to populate the stores manually.\r\n\r\nLooking at your [react-router-flux example](https://github.com/goatslacker/iso/blob/master/examples/react-router-flux/server.js#L29), I see you (pretending to) fetch data from a backend API and populate a store with it. Is there an example that you know of that does this automatically by using react-router load the route and any nested routes, call the initial actions, and populate the stores like one would client-side? I guess you'd have to wait for all store data-fetching promises to resolve first, but I'm unsure of how you'd enumerate them, wait, and _only then_ serialize the stores for the initial markup response.\r\n\r\nThanks so much!"}}