{"action":"created","comment":{"url":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/comments/90962195","pull_request_review_id":11475690,"id":90962195,"diff_hunk":"@@ -0,0 +1,11 @@\n+**Jam3 Lessons - React**\n+\n+# React.PureComponent\n+\n+> React.PureComponent is exactly like `React.Component` but implements `shouldComponentUpdate()` with a shallow prop and state comparison.\n+\n+> If your React component's `render()` function renders the same result given the same props and state, you can use `React.PureComponent` for a performance boost in some cases.\n+","path":"11.PureComponent.md","position":8,"original_position":8,"commit_id":"273d2c3ff18d00165245cb3b3db342e50e4c72fa","original_commit_id":"273d2c3ff18d00165245cb3b3db342e50e4c72fa","user":{"login":"jeremenichelli","id":3856481,"avatar_url":"https://avatars.githubusercontent.com/u/3856481?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremenichelli","html_url":"https://github.com/jeremenichelli","followers_url":"https://api.github.com/users/jeremenichelli/followers","following_url":"https://api.github.com/users/jeremenichelli/following{/other_user}","gists_url":"https://api.github.com/users/jeremenichelli/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremenichelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremenichelli/subscriptions","organizations_url":"https://api.github.com/users/jeremenichelli/orgs","repos_url":"https://api.github.com/users/jeremenichelli/repos","events_url":"https://api.github.com/users/jeremenichelli/events{/privacy}","received_events_url":"https://api.github.com/users/jeremenichelli/received_events","type":"User","site_admin":false},"body":"Can we modify it a little bit so we generate a more sense of ownership over the lesson?","created_at":"2016-12-05T21:44:13Z","updated_at":"2016-12-05T21:44:13Z","html_url":"https://github.com/Jam3/jam3-lessons-react/pull/7#discussion_r90962195","pull_request_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/comments/90962195"},"html":{"href":"https://github.com/Jam3/jam3-lessons-react/pull/7#discussion_r90962195"},"pull_request":{"href":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/7","id":96565368,"html_url":"https://github.com/Jam3/jam3-lessons-react/pull/7","diff_url":"https://github.com/Jam3/jam3-lessons-react/pull/7.diff","patch_url":"https://github.com/Jam3/jam3-lessons-react/pull/7.patch","issue_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues/7","number":7,"state":"open","locked":false,"title":"Add PureComponent","user":{"login":"neolwc","id":9028430,"avatar_url":"https://avatars.githubusercontent.com/u/9028430?v=3","gravatar_id":"","url":"https://api.github.com/users/neolwc","html_url":"https://github.com/neolwc","followers_url":"https://api.github.com/users/neolwc/followers","following_url":"https://api.github.com/users/neolwc/following{/other_user}","gists_url":"https://api.github.com/users/neolwc/gists{/gist_id}","starred_url":"https://api.github.com/users/neolwc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neolwc/subscriptions","organizations_url":"https://api.github.com/users/neolwc/orgs","repos_url":"https://api.github.com/users/neolwc/repos","events_url":"https://api.github.com/users/neolwc/events{/privacy}","received_events_url":"https://api.github.com/users/neolwc/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-05T16:47:20Z","updated_at":"2016-12-05T21:44:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23380ebb2483b31b0096fec52fa8feaed30e5a9c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues/7/comments","statuses_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/statuses/273d2c3ff18d00165245cb3b3db342e50e4c72fa","head":{"label":"Jam3:pureComponent","ref":"pureComponent","sha":"273d2c3ff18d00165245cb3b3db342e50e4c72fa","user":{"login":"Jam3","id":1165621,"avatar_url":"https://avatars.githubusercontent.com/u/1165621?v=3","gravatar_id":"","url":"https://api.github.com/users/Jam3","html_url":"https://github.com/Jam3","followers_url":"https://api.github.com/users/Jam3/followers","following_url":"https://api.github.com/users/Jam3/following{/other_user}","gists_url":"https://api.github.com/users/Jam3/gists{/gist_id}","starred_url":"https://api.github.com/users/Jam3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jam3/subscriptions","organizations_url":"https://api.github.com/users/Jam3/orgs","repos_url":"https://api.github.com/users/Jam3/repos","events_url":"https://api.github.com/users/Jam3/events{/privacy}","received_events_url":"https://api.github.com/users/Jam3/received_events","type":"Organization","site_admin":false},"repo":{"id":74784496,"name":"jam3-lessons-react","full_name":"Jam3/jam3-lessons-react","owner":{"login":"Jam3","id":1165621,"avatar_url":"https://avatars.githubusercontent.com/u/1165621?v=3","gravatar_id":"","url":"https://api.github.com/users/Jam3","html_url":"https://github.com/Jam3","followers_url":"https://api.github.com/users/Jam3/followers","following_url":"https://api.github.com/users/Jam3/following{/other_user}","gists_url":"https://api.github.com/users/Jam3/gists{/gist_id}","starred_url":"https://api.github.com/users/Jam3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jam3/subscriptions","organizations_url":"https://api.github.com/users/Jam3/orgs","repos_url":"https://api.github.com/users/Jam3/repos","events_url":"https://api.github.com/users/Jam3/events{/privacy}","received_events_url":"https://api.github.com/users/Jam3/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Jam3/jam3-lessons-react","description":"Quick and brief reference for React development","fork":false,"url":"https://api.github.com/repos/Jam3/jam3-lessons-react","forks_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/forks","keys_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/teams","hooks_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/hooks","issue_events_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues/events{/number}","events_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/events","assignees_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/assignees{/user}","branches_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/branches{/branch}","tags_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/tags","blobs_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/statuses/{sha}","languages_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/languages","stargazers_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/stargazers","contributors_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/contributors","subscribers_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/subscribers","subscription_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/subscription","commits_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/contents/{+path}","compare_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/merges","archive_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/downloads","issues_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues{/number}","pulls_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls{/number}","milestones_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/milestones{/number}","notifications_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/labels{/name}","releases_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/releases{/id}","deployments_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/deployments","created_at":"2016-11-25T19:49:15Z","updated_at":"2016-11-25T19:49:15Z","pushed_at":"2016-12-05T21:16:04Z","git_url":"git://github.com/Jam3/jam3-lessons-react.git","ssh_url":"git@github.com:Jam3/jam3-lessons-react.git","clone_url":"https://github.com/Jam3/jam3-lessons-react.git","svn_url":"https://github.com/Jam3/jam3-lessons-react","homepage":null,"size":30,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"Jam3:master","ref":"master","sha":"0d7b38e72014e5daf404c4aa61039831e63c5faf","user":{"login":"Jam3","id":1165621,"avatar_url":"https://avatars.githubusercontent.com/u/1165621?v=3","gravatar_id":"","url":"https://api.github.com/users/Jam3","html_url":"https://github.com/Jam3","followers_url":"https://api.github.com/users/Jam3/followers","following_url":"https://api.github.com/users/Jam3/following{/other_user}","gists_url":"https://api.github.com/users/Jam3/gists{/gist_id}","starred_url":"https://api.github.com/users/Jam3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jam3/subscriptions","organizations_url":"https://api.github.com/users/Jam3/orgs","repos_url":"https://api.github.com/users/Jam3/repos","events_url":"https://api.github.com/users/Jam3/events{/privacy}","received_events_url":"https://api.github.com/users/Jam3/received_events","type":"Organization","site_admin":false},"repo":{"id":74784496,"name":"jam3-lessons-react","full_name":"Jam3/jam3-lessons-react","owner":{"login":"Jam3","id":1165621,"avatar_url":"https://avatars.githubusercontent.com/u/1165621?v=3","gravatar_id":"","url":"https://api.github.com/users/Jam3","html_url":"https://github.com/Jam3","followers_url":"https://api.github.com/users/Jam3/followers","following_url":"https://api.github.com/users/Jam3/following{/other_user}","gists_url":"https://api.github.com/users/Jam3/gists{/gist_id}","starred_url":"https://api.github.com/users/Jam3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jam3/subscriptions","organizations_url":"https://api.github.com/users/Jam3/orgs","repos_url":"https://api.github.com/users/Jam3/repos","events_url":"https://api.github.com/users/Jam3/events{/privacy}","received_events_url":"https://api.github.com/users/Jam3/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Jam3/jam3-lessons-react","description":"Quick and brief reference for React development","fork":false,"url":"https://api.github.com/repos/Jam3/jam3-lessons-react","forks_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/forks","keys_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/teams","hooks_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/hooks","issue_events_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues/events{/number}","events_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/events","assignees_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/assignees{/user}","branches_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/branches{/branch}","tags_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/tags","blobs_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/statuses/{sha}","languages_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/languages","stargazers_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/stargazers","contributors_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/contributors","subscribers_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/subscribers","subscription_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/subscription","commits_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/contents/{+path}","compare_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/merges","archive_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/downloads","issues_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues{/number}","pulls_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls{/number}","milestones_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/milestones{/number}","notifications_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/labels{/name}","releases_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/releases{/id}","deployments_url":"https://api.github.com/repos/Jam3/jam3-lessons-react/deployments","created_at":"2016-11-25T19:49:15Z","updated_at":"2016-11-25T19:49:15Z","pushed_at":"2016-12-05T21:16:04Z","git_url":"git://github.com/Jam3/jam3-lessons-react.git","ssh_url":"git@github.com:Jam3/jam3-lessons-react.git","clone_url":"https://github.com/Jam3/jam3-lessons-react.git","svn_url":"https://github.com/Jam3/jam3-lessons-react","homepage":null,"size":30,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/7"},"html":{"href":"https://github.com/Jam3/jam3-lessons-react/pull/7"},"issue":{"href":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues/7"},"comments":{"href":"https://api.github.com/repos/Jam3/jam3-lessons-react/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Jam3/jam3-lessons-react/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Jam3/jam3-lessons-react/statuses/273d2c3ff18d00165245cb3b3db342e50e4c72fa"}}}}
{"actor":{"display_login":"jeremenichelli"}}