{"action":"created","issue":{"url":"https://api.github.com/repos/markfinger/python-react/issues/71","repository_url":"https://api.github.com/repos/markfinger/python-react","labels_url":"https://api.github.com/repos/markfinger/python-react/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/markfinger/python-react/issues/71/comments","events_url":"https://api.github.com/repos/markfinger/python-react/issues/71/events","html_url":"https://github.com/markfinger/python-react/issues/71","id":183849455,"number":71,"title":"Is it possible to use Server Side Rendering for components that you want to pass children to?","user":{"login":"Anima-t3d","id":830386,"avatar_url":"https://avatars.githubusercontent.com/u/830386?v=3","gravatar_id":"","url":"https://api.github.com/users/Anima-t3d","html_url":"https://github.com/Anima-t3d","followers_url":"https://api.github.com/users/Anima-t3d/followers","following_url":"https://api.github.com/users/Anima-t3d/following{/other_user}","gists_url":"https://api.github.com/users/Anima-t3d/gists{/gist_id}","starred_url":"https://api.github.com/users/Anima-t3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anima-t3d/subscriptions","organizations_url":"https://api.github.com/users/Anima-t3d/orgs","repos_url":"https://api.github.com/users/Anima-t3d/repos","events_url":"https://api.github.com/users/Anima-t3d/events{/privacy}","received_events_url":"https://api.github.com/users/Anima-t3d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-19T02:17:45Z","updated_at":"2016-10-19T04:00:57Z","closed_at":null,"body":"As I understand from the docs you can only pass the absolute url of a jsx file and pass props. Would it also be possible to pass [child components](https://facebook.github.io/react/docs/multiple-components.html#children) to the server side renderer? Or would a somewhat workaround be to create another jsx file that has these child components in it and pass props?"},"comment":{"url":"https://api.github.com/repos/markfinger/python-react/issues/comments/254704741","html_url":"https://github.com/markfinger/python-react/issues/71#issuecomment-254704741","issue_url":"https://api.github.com/repos/markfinger/python-react/issues/71","id":254704741,"user":{"login":"markfinger","id":175974,"avatar_url":"https://avatars.githubusercontent.com/u/175974?v=3","gravatar_id":"","url":"https://api.github.com/users/markfinger","html_url":"https://github.com/markfinger","followers_url":"https://api.github.com/users/markfinger/followers","following_url":"https://api.github.com/users/markfinger/following{/other_user}","gists_url":"https://api.github.com/users/markfinger/gists{/gist_id}","starred_url":"https://api.github.com/users/markfinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markfinger/subscriptions","organizations_url":"https://api.github.com/users/markfinger/orgs","repos_url":"https://api.github.com/users/markfinger/repos","events_url":"https://api.github.com/users/markfinger/events{/privacy}","received_events_url":"https://api.github.com/users/markfinger/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T04:00:57Z","updated_at":"2016-10-19T04:00:57Z","body":"You could implement something like that with React components if you use the `render` method to handle the instantiation of - and branching between - the child components, but it'll probably involve jumping through a number of hoops and seems a bit hacky.\r\n\r\nAn alternative might be to re-implement the render server's js file with your own. If you're interested, it's pretty succinct and should be easy to hack on"}}
{"actor":{"display_login":"markfinger"}}