{"action":"created","issue":{"url":"https://api.github.com/repos/knockout/knockout/issues/2214","repository_url":"https://api.github.com/repos/knockout/knockout","labels_url":"https://api.github.com/repos/knockout/knockout/issues/2214/labels{/name}","comments_url":"https://api.github.com/repos/knockout/knockout/issues/2214/comments","events_url":"https://api.github.com/repos/knockout/knockout/issues/2214/events","html_url":"https://github.com/knockout/knockout/issues/2214","id":214210184,"number":2214,"title":"Server-side rendering","user":{"login":"azaslonov","id":2320302,"avatar_url":"https://avatars1.githubusercontent.com/u/2320302?v=3","gravatar_id":"","url":"https://api.github.com/users/azaslonov","html_url":"https://github.com/azaslonov","followers_url":"https://api.github.com/users/azaslonov/followers","following_url":"https://api.github.com/users/azaslonov/following{/other_user}","gists_url":"https://api.github.com/users/azaslonov/gists{/gist_id}","starred_url":"https://api.github.com/users/azaslonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azaslonov/subscriptions","organizations_url":"https://api.github.com/users/azaslonov/orgs","repos_url":"https://api.github.com/users/azaslonov/repos","events_url":"https://api.github.com/users/azaslonov/events{/privacy}","received_events_url":"https://api.github.com/users/azaslonov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-03-14T21:20:37Z","updated_at":"2017-05-29T18:45:57Z","closed_at":null,"body":"Are you guys planning to support server-side rendering in the future? If not, what do you think it might take to implement it and what to look out for?\r\n\r\nThank you in advance."},"comment":{"url":"https://api.github.com/repos/knockout/knockout/issues/comments/304714152","html_url":"https://github.com/knockout/knockout/issues/2214#issuecomment-304714152","issue_url":"https://api.github.com/repos/knockout/knockout/issues/2214","id":304714152,"user":{"login":"kaheglar","id":329747,"avatar_url":"https://avatars2.githubusercontent.com/u/329747?v=3","gravatar_id":"","url":"https://api.github.com/users/kaheglar","html_url":"https://github.com/kaheglar","followers_url":"https://api.github.com/users/kaheglar/followers","following_url":"https://api.github.com/users/kaheglar/following{/other_user}","gists_url":"https://api.github.com/users/kaheglar/gists{/gist_id}","starred_url":"https://api.github.com/users/kaheglar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaheglar/subscriptions","organizations_url":"https://api.github.com/users/kaheglar/orgs","repos_url":"https://api.github.com/users/kaheglar/repos","events_url":"https://api.github.com/users/kaheglar/events{/privacy}","received_events_url":"https://api.github.com/users/kaheglar/received_events","type":"User","site_admin":false},"created_at":"2017-05-29T18:45:57Z","updated_at":"2017-05-29T18:45:57Z","body":"Hi @azaslonov @iberodev. The trick is to make the asynchronous aspects of your application synchronous, when rendering on the server side. The two main cases are:\r\n\r\n1. Async. data loading - Ensure all the necessary state is passed into `applyBindings`.\r\n2. Async. component loading – Preload (require) all the async components before calling `applyBindings`.\r\n\r\n`applyBinding` should then return a fully rendered page.\r\n"}}
{"actor":{"display_login":"kaheglar"}}