{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/1739","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/1739/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/1739/comments","events_url":"https://api.github.com/repos/facebook/react/issues/1739/events","html_url":"https://github.com/facebook/react/issues/1739","id":36379404,"number":1739,"title":"Support asynchronous server rendering (waiting for data before rendering)","user":{"login":"fdecampredon","id":864201,"avatar_url":"https://avatars.githubusercontent.com/u/864201?v=3","gravatar_id":"","url":"https://api.github.com/users/fdecampredon","html_url":"https://github.com/fdecampredon","followers_url":"https://api.github.com/users/fdecampredon/followers","following_url":"https://api.github.com/users/fdecampredon/following{/other_user}","gists_url":"https://api.github.com/users/fdecampredon/gists{/gist_id}","starred_url":"https://api.github.com/users/fdecampredon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdecampredon/subscriptions","organizations_url":"https://api.github.com/users/fdecampredon/orgs","repos_url":"https://api.github.com/users/fdecampredon/repos","events_url":"https://api.github.com/users/fdecampredon/events{/privacy}","received_events_url":"https://api.github.com/users/fdecampredon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":43,"created_at":"2014-06-24T12:36:38Z","updated_at":"2016-06-06T18:32:06Z","closed_at":null,"body":"It would seriously ease the process of building something isomorphic if componentWillMount could return a promise and that react would delay rendering until that promise is resolved. I have seen attempt of doing something like that in react-router and rrouter, however giving this responsibility to each component instead of a router module would make more sense for me."},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/224046813","html_url":"https://github.com/facebook/react/issues/1739#issuecomment-224046813","issue_url":"https://api.github.com/repos/facebook/react/issues/1739","id":224046813,"user":{"login":"bruno12mota","id":4086031,"avatar_url":"https://avatars.githubusercontent.com/u/4086031?v=3","gravatar_id":"","url":"https://api.github.com/users/bruno12mota","html_url":"https://github.com/bruno12mota","followers_url":"https://api.github.com/users/bruno12mota/followers","following_url":"https://api.github.com/users/bruno12mota/following{/other_user}","gists_url":"https://api.github.com/users/bruno12mota/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno12mota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno12mota/subscriptions","organizations_url":"https://api.github.com/users/bruno12mota/orgs","repos_url":"https://api.github.com/users/bruno12mota/repos","events_url":"https://api.github.com/users/bruno12mota/events{/privacy}","received_events_url":"https://api.github.com/users/bruno12mota/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T18:32:05Z","updated_at":"2016-06-06T18:32:05Z","body":"@d4goxn I completely understand your hesitation and skepticism about this. I never thought about this until starting to work with GraphQL and later the introduction of Relay's concepts. I really recommend you to give it a look. And implementing GraphQL in a new or existing server is not as difficult as you might picture, even if you have multiple data stores. Not wanting to go off topic as well, but this is an important discussion.\r\n\r\nI believe that this level of abstraction is the way to go. I've been using it on Relax CMS and the workflow and isolation is a bliss to work with. Not only that but the data requested is not more, nor less what the ui needs, and that's made automatically by collecting which data each component needs and merging it. This is done by Relate http://relax.github.io/relate/how-it-works.html if you're interested in checking. With this I can also include any component anywhere in my application and be sure that it will work as an independent block of my application.\r\n\r\nThe only thing still to figure out is the server side rendering. After going through react's source code I believe there might be already a solution as I described, if not I could work on a solution if someone from the react team agrees with this."}}
{"actor":{"display_login":"bruno12mota"}}