{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react/pulls/comments/96092856","pull_request_review_id":16671763,"id":96092856,"diff_hunk":"@@ -223,9 +226,7 @@ var DOMRenderer = ReactFiberReconciler({\n     rootContainerInstance : Container,\n     internalInstanceHandle : Object,\n   ) : void {\n-    if (shouldAutoFocusHostComponent(type, newProps)) {\n-      (domElement : any).focus();\n-    }\n+    ((domElement : any) : HTMLInputElement).focus();","path":"src/renderers/dom/fiber/ReactDOMFiber.js","position":28,"original_position":28,"commit_id":"6f849695fefabe5b0afde7eeee1a30df0e2850b3","original_commit_id":"6f849695fefabe5b0afde7eeee1a30df0e2850b3","user":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars.githubusercontent.com/u/29597?v=3","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"body":"Yes good catch.","created_at":"2017-01-13T23:16:02Z","updated_at":"2017-01-13T23:16:02Z","html_url":"https://github.com/facebook/react/pull/8779#discussion_r96092856","pull_request_url":"https://api.github.com/repos/facebook/react/pulls/8779","_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/comments/96092856"},"html":{"href":"https://github.com/facebook/react/pull/8779#discussion_r96092856"},"pull_request":{"href":"https://api.github.com/repos/facebook/react/pulls/8779"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/8779","id":101511117,"html_url":"https://github.com/facebook/react/pull/8779","diff_url":"https://github.com/facebook/react/pull/8779.diff","patch_url":"https://github.com/facebook/react/pull/8779.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/8779","number":8779,"state":"open","locked":false,"title":"autoFocus related tweaks","user":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars.githubusercontent.com/u/29597?v=3","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"body":"RE Sebastian's feedback on PR #8646\r\n\r\n* Improved a couple of Flow types\r\n* Replaced an unintentional `Update` effect on `HostComponent`s with a `Ref` effect in complete phase\r\n* Removed an unnecessary check in `ReactDOMFiber.commitMount` as the result of the previous bullet","created_at":"2017-01-13T20:23:06Z","updated_at":"2017-01-13T23:16:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6c596e0f681b5676076b0c186345a3c8f703a06","assignee":{"login":"sebmarkbage","id":63648,"avatar_url":"https://avatars.githubusercontent.com/u/63648?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmarkbage","html_url":"https://github.com/sebmarkbage","followers_url":"https://api.github.com/users/sebmarkbage/followers","following_url":"https://api.github.com/users/sebmarkbage/following{/other_user}","gists_url":"https://api.github.com/users/sebmarkbage/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmarkbage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmarkbage/subscriptions","organizations_url":"https://api.github.com/users/sebmarkbage/orgs","repos_url":"https://api.github.com/users/sebmarkbage/repos","events_url":"https://api.github.com/users/sebmarkbage/events{/privacy}","received_events_url":"https://api.github.com/users/sebmarkbage/received_events","type":"User","site_admin":false},"assignees":[{"login":"sebmarkbage","id":63648,"avatar_url":"https://avatars.githubusercontent.com/u/63648?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmarkbage","html_url":"https://github.com/sebmarkbage","followers_url":"https://api.github.com/users/sebmarkbage/followers","following_url":"https://api.github.com/users/sebmarkbage/following{/other_user}","gists_url":"https://api.github.com/users/sebmarkbage/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmarkbage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmarkbage/subscriptions","organizations_url":"https://api.github.com/users/sebmarkbage/orgs","repos_url":"https://api.github.com/users/sebmarkbage/repos","events_url":"https://api.github.com/users/sebmarkbage/events{/privacy}","received_events_url":"https://api.github.com/users/sebmarkbage/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react/pulls/8779/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/8779/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react/issues/8779/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/6f849695fefabe5b0afde7eeee1a30df0e2850b3","head":{"label":"bvaughn:focus-side-effect-sebmarkbage-feedback","ref":"focus-side-effect-sebmarkbage-feedback","sha":"6f849695fefabe5b0afde7eeee1a30df0e2850b3","user":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars.githubusercontent.com/u/29597?v=3","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"repo":{"id":74410855,"name":"react","full_name":"bvaughn/react","owner":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars.githubusercontent.com/u/29597?v=3","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bvaughn/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":true,"url":"https://api.github.com/repos/bvaughn/react","forks_url":"https://api.github.com/repos/bvaughn/react/forks","keys_url":"https://api.github.com/repos/bvaughn/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bvaughn/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bvaughn/react/teams","hooks_url":"https://api.github.com/repos/bvaughn/react/hooks","issue_events_url":"https://api.github.com/repos/bvaughn/react/issues/events{/number}","events_url":"https://api.github.com/repos/bvaughn/react/events","assignees_url":"https://api.github.com/repos/bvaughn/react/assignees{/user}","branches_url":"https://api.github.com/repos/bvaughn/react/branches{/branch}","tags_url":"https://api.github.com/repos/bvaughn/react/tags","blobs_url":"https://api.github.com/repos/bvaughn/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bvaughn/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bvaughn/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/bvaughn/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bvaughn/react/statuses/{sha}","languages_url":"https://api.github.com/repos/bvaughn/react/languages","stargazers_url":"https://api.github.com/repos/bvaughn/react/stargazers","contributors_url":"https://api.github.com/repos/bvaughn/react/contributors","subscribers_url":"https://api.github.com/repos/bvaughn/react/subscribers","subscription_url":"https://api.github.com/repos/bvaughn/react/subscription","commits_url":"https://api.github.com/repos/bvaughn/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/bvaughn/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/bvaughn/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/bvaughn/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/bvaughn/react/contents/{+path}","compare_url":"https://api.github.com/repos/bvaughn/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bvaughn/react/merges","archive_url":"https://api.github.com/repos/bvaughn/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bvaughn/react/downloads","issues_url":"https://api.github.com/repos/bvaughn/react/issues{/number}","pulls_url":"https://api.github.com/repos/bvaughn/react/pulls{/number}","milestones_url":"https://api.github.com/repos/bvaughn/react/milestones{/number}","notifications_url":"https://api.github.com/repos/bvaughn/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bvaughn/react/labels{/name}","releases_url":"https://api.github.com/repos/bvaughn/react/releases{/id}","deployments_url":"https://api.github.com/repos/bvaughn/react/deployments","created_at":"2016-11-21T22:18:38Z","updated_at":"2016-11-21T22:18:45Z","pushed_at":"2017-01-13T22:45:59Z","git_url":"git://github.com/bvaughn/react.git","ssh_url":"git@github.com:bvaughn/react.git","clone_url":"https://github.com/bvaughn/react.git","svn_url":"https://github.com/bvaughn/react","homepage":"https://facebook.github.io/react/","size":111424,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"3bc5595dfd6db741b19f17e7aef98b2c1e4be847","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":10270250,"name":"react","full_name":"facebook/react","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":false,"url":"https://api.github.com/repos/facebook/react","forks_url":"https://api.github.com/repos/facebook/react/forks","keys_url":"https://api.github.com/repos/facebook/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react/teams","hooks_url":"https://api.github.com/repos/facebook/react/hooks","issue_events_url":"https://api.github.com/repos/facebook/react/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react/events","assignees_url":"https://api.github.com/repos/facebook/react/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react/tags","blobs_url":"https://api.github.com/repos/facebook/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react/languages","stargazers_url":"https://api.github.com/repos/facebook/react/stargazers","contributors_url":"https://api.github.com/repos/facebook/react/contributors","subscribers_url":"https://api.github.com/repos/facebook/react/subscribers","subscription_url":"https://api.github.com/repos/facebook/react/subscription","commits_url":"https://api.github.com/repos/facebook/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react/merges","archive_url":"https://api.github.com/repos/facebook/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react/downloads","issues_url":"https://api.github.com/repos/facebook/react/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/react/deployments","created_at":"2013-05-24T16:15:54Z","updated_at":"2017-01-13T22:53:27Z","pushed_at":"2017-01-13T22:49:02Z","git_url":"git://github.com/facebook/react.git","ssh_url":"git@github.com:facebook/react.git","clone_url":"https://github.com/facebook/react.git","svn_url":"https://github.com/facebook/react","homepage":"https://facebook.github.io/react/","size":112821,"stargazers_count":57622,"watchers_count":57622,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10448,"mirror_url":null,"open_issues_count":680,"forks":10448,"open_issues":680,"watchers":57622,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/8779"},"html":{"href":"https://github.com/facebook/react/pull/8779"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/8779"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/8779/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/8779/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/8779/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/6f849695fefabe5b0afde7eeee1a30df0e2850b3"}}}}
{"actor":{"display_login":"bvaughn"}}