{"action":"created","comment":{"url":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/comments/42412672","id":42412672,"diff_hunk":"@@ -30,6 +30,15 @@ let Image = React.createClass({\n     }\n   },\n \n+  componentWillReceiveProps(nextProps) {\n+    let { src } = this.state\n+\n+    this.setState({\n+      isLoaded: nextProps.src !== src,\n+      src: nextProps.src\n+    });\n+  },","path":"src/components/ui/image.jsx","position":null,"original_position":11,"commit_id":"c759cbf8f3d0360cb50501155f5543ab20df17d5","original_commit_id":"806012d3f6913cb4d95a70ae6a977edabb9c25b4","user":{"login":"nhunzaker","id":590904,"avatar_url":"https://avatars.githubusercontent.com/u/590904?v=3","gravatar_id":"","url":"https://api.github.com/users/nhunzaker","html_url":"https://github.com/nhunzaker","followers_url":"https://api.github.com/users/nhunzaker/followers","following_url":"https://api.github.com/users/nhunzaker/following{/other_user}","gists_url":"https://api.github.com/users/nhunzaker/gists{/gist_id}","starred_url":"https://api.github.com/users/nhunzaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhunzaker/subscriptions","organizations_url":"https://api.github.com/users/nhunzaker/orgs","repos_url":"https://api.github.com/users/nhunzaker/repos","events_url":"https://api.github.com/users/nhunzaker/events{/privacy}","received_events_url":"https://api.github.com/users/nhunzaker/received_events","type":"User","site_admin":false},"body":"Ya, what was the bug?\n\n-- \nNate Hunzaker\n\nOn October 19, 2015 at 3:06:22 PM, Chris Manning (notifications@github.com) wrote:\n\n> +    let { src } = this.state\n\n","created_at":"2015-10-19T19:07:22Z","updated_at":"2015-10-19T19:07:22Z","html_url":"https://github.com/vigetlabs/ars-arsenal/pull/24#discussion_r42412672","pull_request_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/comments/42412672"},"html":{"href":"https://github.com/vigetlabs/ars-arsenal/pull/24#discussion_r42412672"},"pull_request":{"href":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/24","id":48106750,"html_url":"https://github.com/vigetlabs/ars-arsenal/pull/24","diff_url":"https://github.com/vigetlabs/ars-arsenal/pull/24.diff","patch_url":"https://github.com/vigetlabs/ars-arsenal/pull/24.patch","issue_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues/24","number":24,"state":"open","locked":false,"title":"Image Component isLoaded fix","user":{"login":"cwmanning","id":1019830,"avatar_url":"https://avatars.githubusercontent.com/u/1019830?v=3","gravatar_id":"","url":"https://api.github.com/users/cwmanning","html_url":"https://github.com/cwmanning","followers_url":"https://api.github.com/users/cwmanning/followers","following_url":"https://api.github.com/users/cwmanning/following{/other_user}","gists_url":"https://api.github.com/users/cwmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/cwmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwmanning/subscriptions","organizations_url":"https://api.github.com/users/cwmanning/orgs","repos_url":"https://api.github.com/users/cwmanning/repos","events_url":"https://api.github.com/users/cwmanning/events{/privacy}","received_events_url":"https://api.github.com/users/cwmanning/received_events","type":"User","site_admin":false},"body":"Resets the `isLoaded` state to false when the image re-renders with a different src.","created_at":"2015-10-19T18:18:16Z","updated_at":"2015-10-19T19:07:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28898d8d55c9da01621696ac0fc8b4249864b7a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/24/commits","review_comments_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/24/comments","review_comment_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues/24/comments","statuses_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/statuses/c759cbf8f3d0360cb50501155f5543ab20df17d5","head":{"label":"vigetlabs:image-is-loaded","ref":"image-is-loaded","sha":"c759cbf8f3d0360cb50501155f5543ab20df17d5","user":{"login":"vigetlabs","id":4845,"avatar_url":"https://avatars.githubusercontent.com/u/4845?v=3","gravatar_id":"","url":"https://api.github.com/users/vigetlabs","html_url":"https://github.com/vigetlabs","followers_url":"https://api.github.com/users/vigetlabs/followers","following_url":"https://api.github.com/users/vigetlabs/following{/other_user}","gists_url":"https://api.github.com/users/vigetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/vigetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigetlabs/subscriptions","organizations_url":"https://api.github.com/users/vigetlabs/orgs","repos_url":"https://api.github.com/users/vigetlabs/repos","events_url":"https://api.github.com/users/vigetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/vigetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":27774541,"name":"ars-arsenal","full_name":"vigetlabs/ars-arsenal","owner":{"login":"vigetlabs","id":4845,"avatar_url":"https://avatars.githubusercontent.com/u/4845?v=3","gravatar_id":"","url":"https://api.github.com/users/vigetlabs","html_url":"https://github.com/vigetlabs","followers_url":"https://api.github.com/users/vigetlabs/followers","following_url":"https://api.github.com/users/vigetlabs/following{/other_user}","gists_url":"https://api.github.com/users/vigetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/vigetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigetlabs/subscriptions","organizations_url":"https://api.github.com/users/vigetlabs/orgs","repos_url":"https://api.github.com/users/vigetlabs/repos","events_url":"https://api.github.com/users/vigetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/vigetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vigetlabs/ars-arsenal","description":"A react gallery picker","fork":false,"url":"https://api.github.com/repos/vigetlabs/ars-arsenal","forks_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/forks","keys_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/teams","hooks_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/hooks","issue_events_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues/events{/number}","events_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/events","assignees_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/assignees{/user}","branches_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/branches{/branch}","tags_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/tags","blobs_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/refs{/sha}","trees_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/statuses/{sha}","languages_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/languages","stargazers_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/stargazers","contributors_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/contributors","subscribers_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/subscribers","subscription_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/subscription","commits_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/commits{/sha}","git_commits_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/commits{/sha}","comments_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/comments{/number}","issue_comment_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues/comments{/number}","contents_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/contents/{+path}","compare_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/merges","archive_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/downloads","issues_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues{/number}","pulls_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls{/number}","milestones_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/milestones{/number}","notifications_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/labels{/name}","releases_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/releases{/id}","created_at":"2014-12-09T16:03:37Z","updated_at":"2015-10-15T22:13:05Z","pushed_at":"2015-10-19T19:04:59Z","git_url":"git://github.com/vigetlabs/ars-arsenal.git","ssh_url":"git@github.com:vigetlabs/ars-arsenal.git","clone_url":"https://github.com/vigetlabs/ars-arsenal.git","svn_url":"https://github.com/vigetlabs/ars-arsenal","homepage":null,"size":2235,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":10,"default_branch":"master"}},"base":{"label":"vigetlabs:master","ref":"master","sha":"a792e12f25d377003cef1daa66c2d925cfcca1dd","user":{"login":"vigetlabs","id":4845,"avatar_url":"https://avatars.githubusercontent.com/u/4845?v=3","gravatar_id":"","url":"https://api.github.com/users/vigetlabs","html_url":"https://github.com/vigetlabs","followers_url":"https://api.github.com/users/vigetlabs/followers","following_url":"https://api.github.com/users/vigetlabs/following{/other_user}","gists_url":"https://api.github.com/users/vigetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/vigetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigetlabs/subscriptions","organizations_url":"https://api.github.com/users/vigetlabs/orgs","repos_url":"https://api.github.com/users/vigetlabs/repos","events_url":"https://api.github.com/users/vigetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/vigetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":27774541,"name":"ars-arsenal","full_name":"vigetlabs/ars-arsenal","owner":{"login":"vigetlabs","id":4845,"avatar_url":"https://avatars.githubusercontent.com/u/4845?v=3","gravatar_id":"","url":"https://api.github.com/users/vigetlabs","html_url":"https://github.com/vigetlabs","followers_url":"https://api.github.com/users/vigetlabs/followers","following_url":"https://api.github.com/users/vigetlabs/following{/other_user}","gists_url":"https://api.github.com/users/vigetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/vigetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigetlabs/subscriptions","organizations_url":"https://api.github.com/users/vigetlabs/orgs","repos_url":"https://api.github.com/users/vigetlabs/repos","events_url":"https://api.github.com/users/vigetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/vigetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vigetlabs/ars-arsenal","description":"A react gallery picker","fork":false,"url":"https://api.github.com/repos/vigetlabs/ars-arsenal","forks_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/forks","keys_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/teams","hooks_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/hooks","issue_events_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues/events{/number}","events_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/events","assignees_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/assignees{/user}","branches_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/branches{/branch}","tags_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/tags","blobs_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/refs{/sha}","trees_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/statuses/{sha}","languages_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/languages","stargazers_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/stargazers","contributors_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/contributors","subscribers_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/subscribers","subscription_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/subscription","commits_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/commits{/sha}","git_commits_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/git/commits{/sha}","comments_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/comments{/number}","issue_comment_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues/comments{/number}","contents_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/contents/{+path}","compare_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/merges","archive_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/downloads","issues_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues{/number}","pulls_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls{/number}","milestones_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/milestones{/number}","notifications_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/labels{/name}","releases_url":"https://api.github.com/repos/vigetlabs/ars-arsenal/releases{/id}","created_at":"2014-12-09T16:03:37Z","updated_at":"2015-10-15T22:13:05Z","pushed_at":"2015-10-19T19:04:59Z","git_url":"git://github.com/vigetlabs/ars-arsenal.git","ssh_url":"git@github.com:vigetlabs/ars-arsenal.git","clone_url":"https://github.com/vigetlabs/ars-arsenal.git","svn_url":"https://github.com/vigetlabs/ars-arsenal","homepage":null,"size":2235,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/24"},"html":{"href":"https://github.com/vigetlabs/ars-arsenal/pull/24"},"issue":{"href":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues/24"},"comments":{"href":"https://api.github.com/repos/vigetlabs/ars-arsenal/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vigetlabs/ars-arsenal/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/vigetlabs/ars-arsenal/statuses/c759cbf8f3d0360cb50501155f5543ab20df17d5"}}}}