{"action":"created","comment":{"url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/comments/205787256","pull_request_review_id":141124989,"id":205787256,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTc4NzI1Ng==","diff_hunk":"@@ -189,24 +232,26 @@ const executeFunction = (\n };\n ```\n \n-Instead of return a promise that will resolve a single GraphQL response. We return an Observable that could fulfill\n-many responses before it finishes.\n-\n-This is used on [GraphQL Living Queries][live], as you are going to resolve the same query more than once.\n+This is an implementation you would need when working with [GraphQL Live Queries][live] (based on polling), as you\n+are going to resolve the same query more than once.\n \n ### Deferrable Queries Network\n \n-A common case for deferrable queries is to lazy load fragments, like let's load Post content first and then load all\n-comments of this post after the post is loaded.\n+A common case for deferrable queries is to lazy load fragments. This lets you get request content above the page\n+fold first, and then request additional data after. A good example is loading a Post's content first and then\n+subsequently loading all comments of this post after the post has finished.\n \n-Without deferrable queries you could simulate this using [@include Relay Modern][include] directive and a refetch\n-container, when the component mounts it will change the variable used on @include to true and get the rest of the\n-data.\n+Without deferrable queries you could simulate this using the [@include][include] directive in your Relay fragment\n+and a [refetch container][refetch]. When the component mounts the refetch container changes the variable used on the\n+`@include` to true and it will request the rest of the data.\n \n-The problem with above approach is that you need to wait the component to mount before start the next request, this\n-will be more a big deal when Async React start working.\n+The problem with above approach is that you need to wait for the component to mount before you can start the next\n+request. This becomes a bigger problem as React does more work asynchronously.\n \n-The deferrable query will start as soon as the previous query has finished.\n+<!-- TODO: There are no docs for relay deferrable -->","path":"_posts/2018-07-25-Relay-Networking-Deep-Dive.markdown","position":221,"original_position":221,"commit_id":"48adca42218958dc14880b84331ce507f99b72e7","original_commit_id":"48adca42218958dc14880b84331ce507f99b72e7","user":{"login":"orta","id":49038,"node_id":"MDQ6VXNlcjQ5MDM4","avatar_url":"https://avatars2.githubusercontent.com/u/49038?v=4","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"body":"Hah, yeah, I realise that this post is basically all the docs for deferrable 👍 ","created_at":"2018-07-27T14:11:38Z","updated_at":"2018-07-27T14:17:45Z","html_url":"https://github.com/artsy/artsy.github.io/pull/469#discussion_r205787256","pull_request_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/469","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/comments/205787256"},"html":{"href":"https://github.com/artsy/artsy.github.io/pull/469#discussion_r205787256"},"pull_request":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/469"}}},"pull_request":{"url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/469","id":204280030,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MjgwMDMw","html_url":"https://github.com/artsy/artsy.github.io/pull/469","diff_url":"https://github.com/artsy/artsy.github.io/pull/469.diff","patch_url":"https://github.com/artsy/artsy.github.io/pull/469.patch","issue_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/469","number":469,"state":"open","locked":false,"title":"[WIP] Editing run for the Relay Network post","user":{"login":"orta","id":49038,"node_id":"MDQ6VXNlcjQ5MDM4","avatar_url":"https://avatars2.githubusercontent.com/u/49038?v=4","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"body":"@sibelius - this is the first half of editing, I ran out of time - will pick it up again soon\r\n\r\nA lot of my work has been to try and provide a bit more context about _why_ something is needed, or and how it comes together. Interestingly Brazilian Portuguese is my (rough) second language, so I recognize a bunch of the portuguese grammar in here 🇧🇷 \r\n\r\nIf you think this is losing your voice, I'd love you to re-edit over some of this and make it feel right for you 👍 ","created_at":"2018-07-26T22:06:24Z","updated_at":"2018-07-27T14:17:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"351d793712ea535116fb474c5d68a3b5c37941b5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/469/commits","review_comments_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/469/comments","review_comment_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/469/comments","statuses_url":"https://api.github.com/repos/artsy/artsy.github.io/statuses/48adca42218958dc14880b84331ce507f99b72e7","head":{"label":"artsy:sib_edits","ref":"sib_edits","sha":"48adca42218958dc14880b84331ce507f99b72e7","user":{"login":"artsy","id":546231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NjIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":3114581,"node_id":"MDEwOlJlcG9zaXRvcnkzMTE0NTgx","name":"artsy.github.io","full_name":"artsy/artsy.github.io","owner":{"login":"artsy","id":546231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NjIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/artsy.github.io","description":"The Artsy Engineering Open-Source Developers Blog","fork":false,"url":"https://api.github.com/repos/artsy/artsy.github.io","forks_url":"https://api.github.com/repos/artsy/artsy.github.io/forks","keys_url":"https://api.github.com/repos/artsy/artsy.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/artsy.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/artsy.github.io/teams","hooks_url":"https://api.github.com/repos/artsy/artsy.github.io/hooks","issue_events_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/artsy.github.io/events","assignees_url":"https://api.github.com/repos/artsy/artsy.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/artsy.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/artsy.github.io/tags","blobs_url":"https://api.github.com/repos/artsy/artsy.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/artsy.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/artsy.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/artsy.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/artsy.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/artsy.github.io/languages","stargazers_url":"https://api.github.com/repos/artsy/artsy.github.io/stargazers","contributors_url":"https://api.github.com/repos/artsy/artsy.github.io/contributors","subscribers_url":"https://api.github.com/repos/artsy/artsy.github.io/subscribers","subscription_url":"https://api.github.com/repos/artsy/artsy.github.io/subscription","commits_url":"https://api.github.com/repos/artsy/artsy.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/artsy.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/artsy.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/artsy.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/artsy.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/artsy.github.io/merges","archive_url":"https://api.github.com/repos/artsy/artsy.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/artsy.github.io/downloads","issues_url":"https://api.github.com/repos/artsy/artsy.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/artsy.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/artsy.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/artsy.github.io/labels{/name}","releases_url":"https://api.github.com/repos/artsy/artsy.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/artsy/artsy.github.io/deployments","created_at":"2012-01-06T00:31:22Z","updated_at":"2018-07-26T17:40:54Z","pushed_at":"2018-07-27T11:49:45Z","git_url":"git://github.com/artsy/artsy.github.io.git","ssh_url":"git@github.com:artsy/artsy.github.io.git","clone_url":"https://github.com/artsy/artsy.github.io.git","svn_url":"https://github.com/artsy/artsy.github.io","homepage":"https://artsy.github.io","size":170315,"stargazers_count":471,"watchers_count":471,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":154,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":154,"open_issues":35,"watchers":471,"default_branch":"source"}},"base":{"label":"artsy:sib_base","ref":"sib_base","sha":"370be243c7d0d415fc428785bdb3771881d4a954","user":{"login":"artsy","id":546231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NjIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":3114581,"node_id":"MDEwOlJlcG9zaXRvcnkzMTE0NTgx","name":"artsy.github.io","full_name":"artsy/artsy.github.io","owner":{"login":"artsy","id":546231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NjIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/artsy.github.io","description":"The Artsy Engineering Open-Source Developers Blog","fork":false,"url":"https://api.github.com/repos/artsy/artsy.github.io","forks_url":"https://api.github.com/repos/artsy/artsy.github.io/forks","keys_url":"https://api.github.com/repos/artsy/artsy.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/artsy.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/artsy.github.io/teams","hooks_url":"https://api.github.com/repos/artsy/artsy.github.io/hooks","issue_events_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/artsy.github.io/events","assignees_url":"https://api.github.com/repos/artsy/artsy.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/artsy.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/artsy.github.io/tags","blobs_url":"https://api.github.com/repos/artsy/artsy.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/artsy.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/artsy.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/artsy.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/artsy.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/artsy.github.io/languages","stargazers_url":"https://api.github.com/repos/artsy/artsy.github.io/stargazers","contributors_url":"https://api.github.com/repos/artsy/artsy.github.io/contributors","subscribers_url":"https://api.github.com/repos/artsy/artsy.github.io/subscribers","subscription_url":"https://api.github.com/repos/artsy/artsy.github.io/subscription","commits_url":"https://api.github.com/repos/artsy/artsy.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/artsy.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/artsy.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/artsy.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/artsy.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/artsy.github.io/merges","archive_url":"https://api.github.com/repos/artsy/artsy.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/artsy.github.io/downloads","issues_url":"https://api.github.com/repos/artsy/artsy.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/artsy.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/artsy.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/artsy.github.io/labels{/name}","releases_url":"https://api.github.com/repos/artsy/artsy.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/artsy/artsy.github.io/deployments","created_at":"2012-01-06T00:31:22Z","updated_at":"2018-07-26T17:40:54Z","pushed_at":"2018-07-27T11:49:45Z","git_url":"git://github.com/artsy/artsy.github.io.git","ssh_url":"git@github.com:artsy/artsy.github.io.git","clone_url":"https://github.com/artsy/artsy.github.io.git","svn_url":"https://github.com/artsy/artsy.github.io","homepage":"https://artsy.github.io","size":170315,"stargazers_count":471,"watchers_count":471,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":154,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":154,"open_issues":35,"watchers":471,"default_branch":"source"}},"_links":{"self":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/469"},"html":{"href":"https://github.com/artsy/artsy.github.io/pull/469"},"issue":{"href":"https://api.github.com/repos/artsy/artsy.github.io/issues/469"},"comments":{"href":"https://api.github.com/repos/artsy/artsy.github.io/issues/469/comments"},"review_comments":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/469/comments"},"review_comment":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/469/commits"},"statuses":{"href":"https://api.github.com/repos/artsy/artsy.github.io/statuses/48adca42218958dc14880b84331ce507f99b72e7"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"orta"}}