{"action":"created","comment":{"url":"https://api.github.com/repos/nfl/react-helmet/pulls/comments/57393933","id":57393933,"diff_hunk":"@@ -270,7 +270,11 @@ const Helmet = (Component) => {\n         shouldComponentUpdate(nextProps) {\n             return !deepEqual(this.props, nextProps);\n         }\n-\n+        \n+        // Component.peak comes from react-side-effect:\n+        // For testing, you may use a static peek() method available on the returned component.\n+        // It lets you get the current state without resetting the mounted instance stack.\n+        // Don’t use it for anything other than testing.","path":"src/Helmet.js","position":9,"original_position":9,"commit_id":"b832e3656430a2e15d5a769b9bbb4ca2f700b216","original_commit_id":"b832e3656430a2e15d5a769b9bbb4ca2f700b216","user":{"login":"cwelch5","id":2126424,"avatar_url":"https://avatars.githubusercontent.com/u/2126424?v=3","gravatar_id":"","url":"https://api.github.com/users/cwelch5","html_url":"https://github.com/cwelch5","followers_url":"https://api.github.com/users/cwelch5/followers","following_url":"https://api.github.com/users/cwelch5/following{/other_user}","gists_url":"https://api.github.com/users/cwelch5/gists{/gist_id}","starred_url":"https://api.github.com/users/cwelch5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwelch5/subscriptions","organizations_url":"https://api.github.com/users/cwelch5/orgs","repos_url":"https://api.github.com/users/cwelch5/repos","events_url":"https://api.github.com/users/cwelch5/events{/privacy}","received_events_url":"https://api.github.com/users/cwelch5/received_events","type":"User","site_admin":false},"body":"@cesarandreu I like your idea of shortening it.  You can leave it in the code, just shorten it please.  Thanks!","created_at":"2016-03-24T21:52:34Z","updated_at":"2016-03-24T21:52:34Z","html_url":"https://github.com/nfl/react-helmet/pull/108#discussion_r57393933","pull_request_url":"https://api.github.com/repos/nfl/react-helmet/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/nfl/react-helmet/pulls/comments/57393933"},"html":{"href":"https://github.com/nfl/react-helmet/pull/108#discussion_r57393933"},"pull_request":{"href":"https://api.github.com/repos/nfl/react-helmet/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/nfl/react-helmet/pulls/108","id":61832545,"html_url":"https://github.com/nfl/react-helmet/pull/108","diff_url":"https://github.com/nfl/react-helmet/pull/108.diff","patch_url":"https://github.com/nfl/react-helmet/pull/108.patch","issue_url":"https://api.github.com/repos/nfl/react-helmet/issues/108","number":108,"state":"open","locked":false,"title":"Add comment for Component.peak","user":{"login":"cesarandreu","id":656870,"avatar_url":"https://avatars.githubusercontent.com/u/656870?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarandreu","html_url":"https://github.com/cesarandreu","followers_url":"https://api.github.com/users/cesarandreu/followers","following_url":"https://api.github.com/users/cesarandreu/following{/other_user}","gists_url":"https://api.github.com/users/cesarandreu/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarandreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarandreu/subscriptions","organizations_url":"https://api.github.com/users/cesarandreu/orgs","repos_url":"https://api.github.com/users/cesarandreu/repos","events_url":"https://api.github.com/users/cesarandreu/events{/privacy}","received_events_url":"https://api.github.com/users/cesarandreu/received_events","type":"User","site_admin":false},"body":"I was looking through the source, and saw `Component.peak()`, but I didn't know what it was for. Then I searched the issues and found #61, which explains that it comes from `react-side-effect`. I figure adding a comment explaining its purpose wouldn't hurt.\r\n\r\nI'm not sure if you prefer more verbose comments or shorter ones. In this case I just copied what it says in the react-side-effect docs. I could move this to the README instead, or remove the extra lines and keep `Component.peak comes from react-side-effect`.\r\n","created_at":"2016-03-06T03:23:35Z","updated_at":"2016-03-24T21:52:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7858be0f51bfc02bfe0f2006193ad56c69aa53bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nfl/react-helmet/pulls/108/commits","review_comments_url":"https://api.github.com/repos/nfl/react-helmet/pulls/108/comments","review_comment_url":"https://api.github.com/repos/nfl/react-helmet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nfl/react-helmet/issues/108/comments","statuses_url":"https://api.github.com/repos/nfl/react-helmet/statuses/b832e3656430a2e15d5a769b9bbb4ca2f700b216","head":{"label":"cesarandreu:patch-1","ref":"patch-1","sha":"b832e3656430a2e15d5a769b9bbb4ca2f700b216","user":{"login":"cesarandreu","id":656870,"avatar_url":"https://avatars.githubusercontent.com/u/656870?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarandreu","html_url":"https://github.com/cesarandreu","followers_url":"https://api.github.com/users/cesarandreu/followers","following_url":"https://api.github.com/users/cesarandreu/following{/other_user}","gists_url":"https://api.github.com/users/cesarandreu/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarandreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarandreu/subscriptions","organizations_url":"https://api.github.com/users/cesarandreu/orgs","repos_url":"https://api.github.com/users/cesarandreu/repos","events_url":"https://api.github.com/users/cesarandreu/events{/privacy}","received_events_url":"https://api.github.com/users/cesarandreu/received_events","type":"User","site_admin":false},"repo":{"id":39757811,"name":"react-helmet","full_name":"cesarandreu/react-helmet","owner":{"login":"cesarandreu","id":656870,"avatar_url":"https://avatars.githubusercontent.com/u/656870?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarandreu","html_url":"https://github.com/cesarandreu","followers_url":"https://api.github.com/users/cesarandreu/followers","following_url":"https://api.github.com/users/cesarandreu/following{/other_user}","gists_url":"https://api.github.com/users/cesarandreu/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarandreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarandreu/subscriptions","organizations_url":"https://api.github.com/users/cesarandreu/orgs","repos_url":"https://api.github.com/users/cesarandreu/repos","events_url":"https://api.github.com/users/cesarandreu/events{/privacy}","received_events_url":"https://api.github.com/users/cesarandreu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cesarandreu/react-helmet","description":"Specify the page title, meta & link tags per component in a nested fashion","fork":true,"url":"https://api.github.com/repos/cesarandreu/react-helmet","forks_url":"https://api.github.com/repos/cesarandreu/react-helmet/forks","keys_url":"https://api.github.com/repos/cesarandreu/react-helmet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cesarandreu/react-helmet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cesarandreu/react-helmet/teams","hooks_url":"https://api.github.com/repos/cesarandreu/react-helmet/hooks","issue_events_url":"https://api.github.com/repos/cesarandreu/react-helmet/issues/events{/number}","events_url":"https://api.github.com/repos/cesarandreu/react-helmet/events","assignees_url":"https://api.github.com/repos/cesarandreu/react-helmet/assignees{/user}","branches_url":"https://api.github.com/repos/cesarandreu/react-helmet/branches{/branch}","tags_url":"https://api.github.com/repos/cesarandreu/react-helmet/tags","blobs_url":"https://api.github.com/repos/cesarandreu/react-helmet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cesarandreu/react-helmet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cesarandreu/react-helmet/git/refs{/sha}","trees_url":"https://api.github.com/repos/cesarandreu/react-helmet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cesarandreu/react-helmet/statuses/{sha}","languages_url":"https://api.github.com/repos/cesarandreu/react-helmet/languages","stargazers_url":"https://api.github.com/repos/cesarandreu/react-helmet/stargazers","contributors_url":"https://api.github.com/repos/cesarandreu/react-helmet/contributors","subscribers_url":"https://api.github.com/repos/cesarandreu/react-helmet/subscribers","subscription_url":"https://api.github.com/repos/cesarandreu/react-helmet/subscription","commits_url":"https://api.github.com/repos/cesarandreu/react-helmet/commits{/sha}","git_commits_url":"https://api.github.com/repos/cesarandreu/react-helmet/git/commits{/sha}","comments_url":"https://api.github.com/repos/cesarandreu/react-helmet/comments{/number}","issue_comment_url":"https://api.github.com/repos/cesarandreu/react-helmet/issues/comments{/number}","contents_url":"https://api.github.com/repos/cesarandreu/react-helmet/contents/{+path}","compare_url":"https://api.github.com/repos/cesarandreu/react-helmet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cesarandreu/react-helmet/merges","archive_url":"https://api.github.com/repos/cesarandreu/react-helmet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cesarandreu/react-helmet/downloads","issues_url":"https://api.github.com/repos/cesarandreu/react-helmet/issues{/number}","pulls_url":"https://api.github.com/repos/cesarandreu/react-helmet/pulls{/number}","milestones_url":"https://api.github.com/repos/cesarandreu/react-helmet/milestones{/number}","notifications_url":"https://api.github.com/repos/cesarandreu/react-helmet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cesarandreu/react-helmet/labels{/name}","releases_url":"https://api.github.com/repos/cesarandreu/react-helmet/releases{/id}","deployments_url":"https://api.github.com/repos/cesarandreu/react-helmet/deployments","created_at":"2015-07-27T06:03:33Z","updated_at":"2015-07-27T06:03:35Z","pushed_at":"2016-03-06T03:18:15Z","git_url":"git://github.com/cesarandreu/react-helmet.git","ssh_url":"git@github.com:cesarandreu/react-helmet.git","clone_url":"https://github.com/cesarandreu/react-helmet.git","svn_url":"https://github.com/cesarandreu/react-helmet","homepage":null,"size":146,"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":"nfl:master","ref":"master","sha":"3bf2967dd429183db54070fe792690293c757eb9","user":{"login":"nfl","id":1261928,"avatar_url":"https://avatars.githubusercontent.com/u/1261928?v=3","gravatar_id":"","url":"https://api.github.com/users/nfl","html_url":"https://github.com/nfl","followers_url":"https://api.github.com/users/nfl/followers","following_url":"https://api.github.com/users/nfl/following{/other_user}","gists_url":"https://api.github.com/users/nfl/gists{/gist_id}","starred_url":"https://api.github.com/users/nfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfl/subscriptions","organizations_url":"https://api.github.com/users/nfl/orgs","repos_url":"https://api.github.com/users/nfl/repos","events_url":"https://api.github.com/users/nfl/events{/privacy}","received_events_url":"https://api.github.com/users/nfl/received_events","type":"Organization","site_admin":false},"repo":{"id":37627792,"name":"react-helmet","full_name":"nfl/react-helmet","owner":{"login":"nfl","id":1261928,"avatar_url":"https://avatars.githubusercontent.com/u/1261928?v=3","gravatar_id":"","url":"https://api.github.com/users/nfl","html_url":"https://github.com/nfl","followers_url":"https://api.github.com/users/nfl/followers","following_url":"https://api.github.com/users/nfl/following{/other_user}","gists_url":"https://api.github.com/users/nfl/gists{/gist_id}","starred_url":"https://api.github.com/users/nfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfl/subscriptions","organizations_url":"https://api.github.com/users/nfl/orgs","repos_url":"https://api.github.com/users/nfl/repos","events_url":"https://api.github.com/users/nfl/events{/privacy}","received_events_url":"https://api.github.com/users/nfl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nfl/react-helmet","description":"A document head manager for React","fork":false,"url":"https://api.github.com/repos/nfl/react-helmet","forks_url":"https://api.github.com/repos/nfl/react-helmet/forks","keys_url":"https://api.github.com/repos/nfl/react-helmet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nfl/react-helmet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nfl/react-helmet/teams","hooks_url":"https://api.github.com/repos/nfl/react-helmet/hooks","issue_events_url":"https://api.github.com/repos/nfl/react-helmet/issues/events{/number}","events_url":"https://api.github.com/repos/nfl/react-helmet/events","assignees_url":"https://api.github.com/repos/nfl/react-helmet/assignees{/user}","branches_url":"https://api.github.com/repos/nfl/react-helmet/branches{/branch}","tags_url":"https://api.github.com/repos/nfl/react-helmet/tags","blobs_url":"https://api.github.com/repos/nfl/react-helmet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nfl/react-helmet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nfl/react-helmet/git/refs{/sha}","trees_url":"https://api.github.com/repos/nfl/react-helmet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nfl/react-helmet/statuses/{sha}","languages_url":"https://api.github.com/repos/nfl/react-helmet/languages","stargazers_url":"https://api.github.com/repos/nfl/react-helmet/stargazers","contributors_url":"https://api.github.com/repos/nfl/react-helmet/contributors","subscribers_url":"https://api.github.com/repos/nfl/react-helmet/subscribers","subscription_url":"https://api.github.com/repos/nfl/react-helmet/subscription","commits_url":"https://api.github.com/repos/nfl/react-helmet/commits{/sha}","git_commits_url":"https://api.github.com/repos/nfl/react-helmet/git/commits{/sha}","comments_url":"https://api.github.com/repos/nfl/react-helmet/comments{/number}","issue_comment_url":"https://api.github.com/repos/nfl/react-helmet/issues/comments{/number}","contents_url":"https://api.github.com/repos/nfl/react-helmet/contents/{+path}","compare_url":"https://api.github.com/repos/nfl/react-helmet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nfl/react-helmet/merges","archive_url":"https://api.github.com/repos/nfl/react-helmet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nfl/react-helmet/downloads","issues_url":"https://api.github.com/repos/nfl/react-helmet/issues{/number}","pulls_url":"https://api.github.com/repos/nfl/react-helmet/pulls{/number}","milestones_url":"https://api.github.com/repos/nfl/react-helmet/milestones{/number}","notifications_url":"https://api.github.com/repos/nfl/react-helmet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nfl/react-helmet/labels{/name}","releases_url":"https://api.github.com/repos/nfl/react-helmet/releases{/id}","deployments_url":"https://api.github.com/repos/nfl/react-helmet/deployments","created_at":"2015-06-18T00:07:34Z","updated_at":"2016-03-24T18:29:10Z","pushed_at":"2016-03-24T21:24:34Z","git_url":"git://github.com/nfl/react-helmet.git","ssh_url":"git@github.com:nfl/react-helmet.git","clone_url":"https://github.com/nfl/react-helmet.git","svn_url":"https://github.com/nfl/react-helmet","homepage":"","size":201,"stargazers_count":1255,"watchers_count":1255,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":12,"forks":56,"open_issues":12,"watchers":1255,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nfl/react-helmet/pulls/108"},"html":{"href":"https://github.com/nfl/react-helmet/pull/108"},"issue":{"href":"https://api.github.com/repos/nfl/react-helmet/issues/108"},"comments":{"href":"https://api.github.com/repos/nfl/react-helmet/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/nfl/react-helmet/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/nfl/react-helmet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nfl/react-helmet/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/nfl/react-helmet/statuses/b832e3656430a2e15d5a769b9bbb4ca2f700b216"}}}}