{"action":"opened","number":1347,"pull_request":{"url":"https://api.github.com/repos/atom/github/pulls/1347","id":174371588,"html_url":"https://github.com/atom/github/pull/1347","diff_url":"https://github.com/atom/github/pull/1347.diff","patch_url":"https://github.com/atom/github/pull/1347.patch","issue_url":"https://api.github.com/repos/atom/github/issues/1347","number":1347,"state":"open","locked":false,"title":"Avoid rerendering the FilePatchView on every tiny update","user":{"login":"smashwilson","id":17565,"avatar_url":"https://avatars2.githubusercontent.com/u/17565?v=4","gravatar_id":"","url":"https://api.github.com/users/smashwilson","html_url":"https://github.com/smashwilson","followers_url":"https://api.github.com/users/smashwilson/followers","following_url":"https://api.github.com/users/smashwilson/following{/other_user}","gists_url":"https://api.github.com/users/smashwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/smashwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashwilson/subscriptions","organizations_url":"https://api.github.com/users/smashwilson/orgs","repos_url":"https://api.github.com/users/smashwilson/repos","events_url":"https://api.github.com/users/smashwilson/events{/privacy}","received_events_url":"https://api.github.com/users/smashwilson/received_events","type":"User","site_admin":true},"body":"Use a `shouldComponentUpdate()` method to prevent the FilePatchView from re-rendering every time a change is triggered. This is especially egregrious now that the CommitView's editor triggers a Repository update event on each keystroke by way of `setRegularCommitMessage()`.\r\n\r\nFixes #1338.","created_at":"2018-03-12T13:44:00Z","updated_at":"2018-03-12T13:44:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/atom/github/pulls/1347/commits","review_comments_url":"https://api.github.com/repos/atom/github/pulls/1347/comments","review_comment_url":"https://api.github.com/repos/atom/github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom/github/issues/1347/comments","statuses_url":"https://api.github.com/repos/atom/github/statuses/f5f202870393779ede09c84c3034eeb5e8d17b90","head":{"label":"atom:should-component-update","ref":"should-component-update","sha":"f5f202870393779ede09c84c3034eeb5e8d17b90","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars2.githubusercontent.com/u/1089146?v=4","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":46155786,"name":"github","full_name":"atom/github","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars2.githubusercontent.com/u/1089146?v=4","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/github","description":":octocat: Git and GitHub integration for Atom","fork":false,"url":"https://api.github.com/repos/atom/github","forks_url":"https://api.github.com/repos/atom/github/forks","keys_url":"https://api.github.com/repos/atom/github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/github/teams","hooks_url":"https://api.github.com/repos/atom/github/hooks","issue_events_url":"https://api.github.com/repos/atom/github/issues/events{/number}","events_url":"https://api.github.com/repos/atom/github/events","assignees_url":"https://api.github.com/repos/atom/github/assignees{/user}","branches_url":"https://api.github.com/repos/atom/github/branches{/branch}","tags_url":"https://api.github.com/repos/atom/github/tags","blobs_url":"https://api.github.com/repos/atom/github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/github/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/github/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/github/languages","stargazers_url":"https://api.github.com/repos/atom/github/stargazers","contributors_url":"https://api.github.com/repos/atom/github/contributors","subscribers_url":"https://api.github.com/repos/atom/github/subscribers","subscription_url":"https://api.github.com/repos/atom/github/subscription","commits_url":"https://api.github.com/repos/atom/github/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/github/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/github/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/github/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/github/contents/{+path}","compare_url":"https://api.github.com/repos/atom/github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/github/merges","archive_url":"https://api.github.com/repos/atom/github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/github/downloads","issues_url":"https://api.github.com/repos/atom/github/issues{/number}","pulls_url":"https://api.github.com/repos/atom/github/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/github/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/github/labels{/name}","releases_url":"https://api.github.com/repos/atom/github/releases{/id}","deployments_url":"https://api.github.com/repos/atom/github/deployments","created_at":"2015-11-14T01:17:58Z","updated_at":"2018-03-11T10:37:52Z","pushed_at":"2018-03-12T13:41:07Z","git_url":"git://github.com/atom/github.git","ssh_url":"git@github.com:atom/github.git","clone_url":"https://github.com/atom/github.git","svn_url":"https://github.com/atom/github","homepage":"https://github.atom.io","size":7550,"stargazers_count":425,"watchers_count":425,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"archived":false,"open_issues_count":279,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":76,"open_issues":279,"watchers":425,"default_branch":"master"}},"base":{"label":"atom:master","ref":"master","sha":"4961a67224968ca4e38e0a82c98b2c15bec27ae0","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars2.githubusercontent.com/u/1089146?v=4","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":46155786,"name":"github","full_name":"atom/github","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars2.githubusercontent.com/u/1089146?v=4","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/github","description":":octocat: Git and GitHub integration for Atom","fork":false,"url":"https://api.github.com/repos/atom/github","forks_url":"https://api.github.com/repos/atom/github/forks","keys_url":"https://api.github.com/repos/atom/github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/github/teams","hooks_url":"https://api.github.com/repos/atom/github/hooks","issue_events_url":"https://api.github.com/repos/atom/github/issues/events{/number}","events_url":"https://api.github.com/repos/atom/github/events","assignees_url":"https://api.github.com/repos/atom/github/assignees{/user}","branches_url":"https://api.github.com/repos/atom/github/branches{/branch}","tags_url":"https://api.github.com/repos/atom/github/tags","blobs_url":"https://api.github.com/repos/atom/github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/github/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/github/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/github/languages","stargazers_url":"https://api.github.com/repos/atom/github/stargazers","contributors_url":"https://api.github.com/repos/atom/github/contributors","subscribers_url":"https://api.github.com/repos/atom/github/subscribers","subscription_url":"https://api.github.com/repos/atom/github/subscription","commits_url":"https://api.github.com/repos/atom/github/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/github/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/github/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/github/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/github/contents/{+path}","compare_url":"https://api.github.com/repos/atom/github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/github/merges","archive_url":"https://api.github.com/repos/atom/github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/github/downloads","issues_url":"https://api.github.com/repos/atom/github/issues{/number}","pulls_url":"https://api.github.com/repos/atom/github/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/github/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/github/labels{/name}","releases_url":"https://api.github.com/repos/atom/github/releases{/id}","deployments_url":"https://api.github.com/repos/atom/github/deployments","created_at":"2015-11-14T01:17:58Z","updated_at":"2018-03-11T10:37:52Z","pushed_at":"2018-03-12T13:41:07Z","git_url":"git://github.com/atom/github.git","ssh_url":"git@github.com:atom/github.git","clone_url":"https://github.com/atom/github.git","svn_url":"https://github.com/atom/github","homepage":"https://github.atom.io","size":7550,"stargazers_count":425,"watchers_count":425,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"archived":false,"open_issues_count":279,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":76,"open_issues":279,"watchers":425,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/github/pulls/1347"},"html":{"href":"https://github.com/atom/github/pull/1347"},"issue":{"href":"https://api.github.com/repos/atom/github/issues/1347"},"comments":{"href":"https://api.github.com/repos/atom/github/issues/1347/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/github/pulls/1347/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom/github/pulls/1347/commits"},"statuses":{"href":"https://api.github.com/repos/atom/github/statuses/f5f202870393779ede09c84c3034eeb5e8d17b90"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":31,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"smashwilson"}}