{"action":"created","issue":{"url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/48","labels_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/48/comments","events_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/48/events","html_url":"https://github.com/iam4x/isomorphic-flux-boilerplate/issues/48","id":77630598,"number":48,"title":"Question: Does alt resolver handle resolving or promises from nested components?","user":{"login":"nim23","id":1999331,"avatar_url":"https://avatars.githubusercontent.com/u/1999331?v=3","gravatar_id":"","url":"https://api.github.com/users/nim23","html_url":"https://github.com/nim23","followers_url":"https://api.github.com/users/nim23/followers","following_url":"https://api.github.com/users/nim23/following{/other_user}","gists_url":"https://api.github.com/users/nim23/gists{/gist_id}","starred_url":"https://api.github.com/users/nim23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nim23/subscriptions","organizations_url":"https://api.github.com/users/nim23/orgs","repos_url":"https://api.github.com/users/nim23/repos","events_url":"https://api.github.com/users/nim23/events{/privacy}","received_events_url":"https://api.github.com/users/nim23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T12:03:53Z","updated_at":"2015-05-18T12:23:25Z","closed_at":null,"body":"I have been looking at the code base and just wanted to ask if ```altResolver``` can handle resolving of promises from child components and not only the top level/handler components."},"comment":{"url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/comments/103041497","html_url":"https://github.com/iam4x/isomorphic-flux-boilerplate/issues/48#issuecomment-103041497","issue_url":"https://api.github.com/repos/iam4x/isomorphic-flux-boilerplate/issues/48","id":103041497,"user":{"login":"iam4x","id":893837,"avatar_url":"https://avatars.githubusercontent.com/u/893837?v=3","gravatar_id":"","url":"https://api.github.com/users/iam4x","html_url":"https://github.com/iam4x","followers_url":"https://api.github.com/users/iam4x/followers","following_url":"https://api.github.com/users/iam4x/following{/other_user}","gists_url":"https://api.github.com/users/iam4x/gists{/gist_id}","starred_url":"https://api.github.com/users/iam4x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iam4x/subscriptions","organizations_url":"https://api.github.com/users/iam4x/orgs","repos_url":"https://api.github.com/users/iam4x/repos","events_url":"https://api.github.com/users/iam4x/events{/privacy}","received_events_url":"https://api.github.com/users/iam4x/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T12:23:25Z","updated_at":"2015-05-18T12:23:25Z","body":"No, it's not possible to have this behaviour with the current state of the boilerplate or we would need to render more than twice the application. Adjust to your needs.\r\n\r\nBut I recommend to resolve needed promises before even trying to render the application, for instance an application where you need a session I suggest you to resolve the session before routing and injecting the session in the correct store.\r\n\r\nIn `server/router.jsx`:\r\n\r\n```\r\n...\r\n\r\n  // Save client cookie request headers\r\n  // for external api calls on server side render\r\n  flux\r\n    .getActions('session')\r\n    .saveCookie(this.request.headers.cookie);\r\n\r\n  // Resolve session before rendering\r\n  yield flux\r\n    .getActions('session')\r\n    .getCurrentUser();\r\n\r\n  // Render content\r\n  const handler = yield promisify(router.run);\r\n  const content = yield flux.render(handler);\r\n\r\n....\r\n```\r\n\r\nIf more people need an example I will publish an example."}}