{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/relay/issues/1317","repository_url":"https://api.github.com/repos/facebook/relay","labels_url":"https://api.github.com/repos/facebook/relay/issues/1317/labels{/name}","comments_url":"https://api.github.com/repos/facebook/relay/issues/1317/comments","events_url":"https://api.github.com/repos/facebook/relay/issues/1317/events","html_url":"https://github.com/facebook/relay/issues/1317","id":168969960,"number":1317,"title":"\"Ideal\" code splitting with Relay","user":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T19:37:24Z","updated_at":"2016-08-02T23:19:35Z","closed_at":null,"body":"I don't know if this is the right place for this.\r\n\r\nOne thing that seems difficult – as in I can't figure out how to do it – right now is doing code splitting in an ideal way with Relay.\r\n\r\nTypically code splitting happens along module boundaries. However, ideally it would be good to load data from a remote API server concurrently with loading the JS code for \"dumb\" components.\r\n\r\nHowever, there isn't really a straightforward way to get this working with e.g. `System.import` with Relay because the data requirements are colocated.\r\n\r\nTo be more concrete, I think what I want to do is to not split out the queries and fragments, and instead only split out the actual React components. Doing this would be tricky, though – maybe something to stub out the actual components and only keep the Relay container definitions?"},"comment":{"url":"https://api.github.com/repos/facebook/relay/issues/comments/237079341","html_url":"https://github.com/facebook/relay/issues/1317#issuecomment-237079341","issue_url":"https://api.github.com/repos/facebook/relay/issues/1317","id":237079341,"user":{"login":"rterysen-openroad","id":17296866,"avatar_url":"https://avatars.githubusercontent.com/u/17296866?v=3","gravatar_id":"","url":"https://api.github.com/users/rterysen-openroad","html_url":"https://github.com/rterysen-openroad","followers_url":"https://api.github.com/users/rterysen-openroad/followers","following_url":"https://api.github.com/users/rterysen-openroad/following{/other_user}","gists_url":"https://api.github.com/users/rterysen-openroad/gists{/gist_id}","starred_url":"https://api.github.com/users/rterysen-openroad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rterysen-openroad/subscriptions","organizations_url":"https://api.github.com/users/rterysen-openroad/orgs","repos_url":"https://api.github.com/users/rterysen-openroad/repos","events_url":"https://api.github.com/users/rterysen-openroad/events{/privacy}","received_events_url":"https://api.github.com/users/rterysen-openroad/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T23:19:35Z","updated_at":"2016-08-02T23:19:35Z","body":"Do you mean the concept similar to a styleguide? Ability to pull in react components to only behave as the view and have no knowlegde of relay or have to care about data outside there props? "}}
{"actor":{"display_login":"rterysen-openroad"}}