{"action":"opened","number":115,"pull_request":{"url":"https://api.github.com/repos/dreyescat/react-rating/pulls/115","id":233242281,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjQyMjgx","html_url":"https://github.com/dreyescat/react-rating/pull/115","diff_url":"https://github.com/dreyescat/react-rating/pull/115.diff","patch_url":"https://github.com/dreyescat/react-rating/pull/115.patch","issue_url":"https://api.github.com/repos/dreyescat/react-rating/issues/115","number":115,"state":"open","locked":false,"title":"Onclick returns id","user":{"login":"KyleDavisDev","id":16570397,"node_id":"MDQ6VXNlcjE2NTcwMzk3","avatar_url":"https://avatars0.githubusercontent.com/u/16570397?v=4","gravatar_id":"","url":"https://api.github.com/users/KyleDavisDev","html_url":"https://github.com/KyleDavisDev","followers_url":"https://api.github.com/users/KyleDavisDev/followers","following_url":"https://api.github.com/users/KyleDavisDev/following{/other_user}","gists_url":"https://api.github.com/users/KyleDavisDev/gists{/gist_id}","starred_url":"https://api.github.com/users/KyleDavisDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyleDavisDev/subscriptions","organizations_url":"https://api.github.com/users/KyleDavisDev/orgs","repos_url":"https://api.github.com/users/KyleDavisDev/repos","events_url":"https://api.github.com/users/KyleDavisDev/events{/privacy}","received_events_url":"https://api.github.com/users/KyleDavisDev/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\nI have multiple <Rating />'s in a single component and I had a need for when of the <Rating />'s is clicked, I need to know which one is clicked. If the onClick handler also returns the id, or some other reference, this would alleviate my issue and allow me to update my parent state accordingly.\r\n\r\nThanks\r\n ","created_at":"2018-11-23T16:18:36Z","updated_at":"2018-11-23T16:18:36Z","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/dreyescat/react-rating/pulls/115/commits","review_comments_url":"https://api.github.com/repos/dreyescat/react-rating/pulls/115/comments","review_comment_url":"https://api.github.com/repos/dreyescat/react-rating/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dreyescat/react-rating/issues/115/comments","statuses_url":"https://api.github.com/repos/dreyescat/react-rating/statuses/e1e44913c2c4c1696fbb668c969ce956bb7016e1","head":{"label":"KyleDavisDev:onclick-returns-id","ref":"onclick-returns-id","sha":"e1e44913c2c4c1696fbb668c969ce956bb7016e1","user":{"login":"KyleDavisDev","id":16570397,"node_id":"MDQ6VXNlcjE2NTcwMzk3","avatar_url":"https://avatars0.githubusercontent.com/u/16570397?v=4","gravatar_id":"","url":"https://api.github.com/users/KyleDavisDev","html_url":"https://github.com/KyleDavisDev","followers_url":"https://api.github.com/users/KyleDavisDev/followers","following_url":"https://api.github.com/users/KyleDavisDev/following{/other_user}","gists_url":"https://api.github.com/users/KyleDavisDev/gists{/gist_id}","starred_url":"https://api.github.com/users/KyleDavisDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyleDavisDev/subscriptions","organizations_url":"https://api.github.com/users/KyleDavisDev/orgs","repos_url":"https://api.github.com/users/KyleDavisDev/repos","events_url":"https://api.github.com/users/KyleDavisDev/events{/privacy}","received_events_url":"https://api.github.com/users/KyleDavisDev/received_events","type":"User","site_admin":false},"repo":{"id":158727329,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg3MjczMjk=","name":"react-rating","full_name":"KyleDavisDev/react-rating","private":false,"owner":{"login":"KyleDavisDev","id":16570397,"node_id":"MDQ6VXNlcjE2NTcwMzk3","avatar_url":"https://avatars0.githubusercontent.com/u/16570397?v=4","gravatar_id":"","url":"https://api.github.com/users/KyleDavisDev","html_url":"https://github.com/KyleDavisDev","followers_url":"https://api.github.com/users/KyleDavisDev/followers","following_url":"https://api.github.com/users/KyleDavisDev/following{/other_user}","gists_url":"https://api.github.com/users/KyleDavisDev/gists{/gist_id}","starred_url":"https://api.github.com/users/KyleDavisDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyleDavisDev/subscriptions","organizations_url":"https://api.github.com/users/KyleDavisDev/orgs","repos_url":"https://api.github.com/users/KyleDavisDev/repos","events_url":"https://api.github.com/users/KyleDavisDev/events{/privacy}","received_events_url":"https://api.github.com/users/KyleDavisDev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/KyleDavisDev/react-rating","description":"A rating react component with custom symbols.","fork":true,"url":"https://api.github.com/repos/KyleDavisDev/react-rating","forks_url":"https://api.github.com/repos/KyleDavisDev/react-rating/forks","keys_url":"https://api.github.com/repos/KyleDavisDev/react-rating/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KyleDavisDev/react-rating/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KyleDavisDev/react-rating/teams","hooks_url":"https://api.github.com/repos/KyleDavisDev/react-rating/hooks","issue_events_url":"https://api.github.com/repos/KyleDavisDev/react-rating/issues/events{/number}","events_url":"https://api.github.com/repos/KyleDavisDev/react-rating/events","assignees_url":"https://api.github.com/repos/KyleDavisDev/react-rating/assignees{/user}","branches_url":"https://api.github.com/repos/KyleDavisDev/react-rating/branches{/branch}","tags_url":"https://api.github.com/repos/KyleDavisDev/react-rating/tags","blobs_url":"https://api.github.com/repos/KyleDavisDev/react-rating/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KyleDavisDev/react-rating/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KyleDavisDev/react-rating/git/refs{/sha}","trees_url":"https://api.github.com/repos/KyleDavisDev/react-rating/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KyleDavisDev/react-rating/statuses/{sha}","languages_url":"https://api.github.com/repos/KyleDavisDev/react-rating/languages","stargazers_url":"https://api.github.com/repos/KyleDavisDev/react-rating/stargazers","contributors_url":"https://api.github.com/repos/KyleDavisDev/react-rating/contributors","subscribers_url":"https://api.github.com/repos/KyleDavisDev/react-rating/subscribers","subscription_url":"https://api.github.com/repos/KyleDavisDev/react-rating/subscription","commits_url":"https://api.github.com/repos/KyleDavisDev/react-rating/commits{/sha}","git_commits_url":"https://api.github.com/repos/KyleDavisDev/react-rating/git/commits{/sha}","comments_url":"https://api.github.com/repos/KyleDavisDev/react-rating/comments{/number}","issue_comment_url":"https://api.github.com/repos/KyleDavisDev/react-rating/issues/comments{/number}","contents_url":"https://api.github.com/repos/KyleDavisDev/react-rating/contents/{+path}","compare_url":"https://api.github.com/repos/KyleDavisDev/react-rating/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KyleDavisDev/react-rating/merges","archive_url":"https://api.github.com/repos/KyleDavisDev/react-rating/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KyleDavisDev/react-rating/downloads","issues_url":"https://api.github.com/repos/KyleDavisDev/react-rating/issues{/number}","pulls_url":"https://api.github.com/repos/KyleDavisDev/react-rating/pulls{/number}","milestones_url":"https://api.github.com/repos/KyleDavisDev/react-rating/milestones{/number}","notifications_url":"https://api.github.com/repos/KyleDavisDev/react-rating/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KyleDavisDev/react-rating/labels{/name}","releases_url":"https://api.github.com/repos/KyleDavisDev/react-rating/releases{/id}","deployments_url":"https://api.github.com/repos/KyleDavisDev/react-rating/deployments","created_at":"2018-11-22T16:41:37Z","updated_at":"2018-11-22T16:57:47Z","pushed_at":"2018-11-23T15:51:17Z","git_url":"git://github.com/KyleDavisDev/react-rating.git","ssh_url":"git@github.com:KyleDavisDev/react-rating.git","clone_url":"https://github.com/KyleDavisDev/react-rating.git","svn_url":"https://github.com/KyleDavisDev/react-rating","homepage":"http://dreyescat.github.io/react-rating/","size":4654,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dreyescat:master","ref":"master","sha":"66a78cd1b413cc14b375194d5c2a2c111e678465","user":{"login":"dreyescat","id":1313415,"node_id":"MDQ6VXNlcjEzMTM0MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1313415?v=4","gravatar_id":"","url":"https://api.github.com/users/dreyescat","html_url":"https://github.com/dreyescat","followers_url":"https://api.github.com/users/dreyescat/followers","following_url":"https://api.github.com/users/dreyescat/following{/other_user}","gists_url":"https://api.github.com/users/dreyescat/gists{/gist_id}","starred_url":"https://api.github.com/users/dreyescat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreyescat/subscriptions","organizations_url":"https://api.github.com/users/dreyescat/orgs","repos_url":"https://api.github.com/users/dreyescat/repos","events_url":"https://api.github.com/users/dreyescat/events{/privacy}","received_events_url":"https://api.github.com/users/dreyescat/received_events","type":"User","site_admin":false},"repo":{"id":39350983,"node_id":"MDEwOlJlcG9zaXRvcnkzOTM1MDk4Mw==","name":"react-rating","full_name":"dreyescat/react-rating","private":false,"owner":{"login":"dreyescat","id":1313415,"node_id":"MDQ6VXNlcjEzMTM0MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1313415?v=4","gravatar_id":"","url":"https://api.github.com/users/dreyescat","html_url":"https://github.com/dreyescat","followers_url":"https://api.github.com/users/dreyescat/followers","following_url":"https://api.github.com/users/dreyescat/following{/other_user}","gists_url":"https://api.github.com/users/dreyescat/gists{/gist_id}","starred_url":"https://api.github.com/users/dreyescat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreyescat/subscriptions","organizations_url":"https://api.github.com/users/dreyescat/orgs","repos_url":"https://api.github.com/users/dreyescat/repos","events_url":"https://api.github.com/users/dreyescat/events{/privacy}","received_events_url":"https://api.github.com/users/dreyescat/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dreyescat/react-rating","description":"A rating react component with custom symbols.","fork":false,"url":"https://api.github.com/repos/dreyescat/react-rating","forks_url":"https://api.github.com/repos/dreyescat/react-rating/forks","keys_url":"https://api.github.com/repos/dreyescat/react-rating/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dreyescat/react-rating/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dreyescat/react-rating/teams","hooks_url":"https://api.github.com/repos/dreyescat/react-rating/hooks","issue_events_url":"https://api.github.com/repos/dreyescat/react-rating/issues/events{/number}","events_url":"https://api.github.com/repos/dreyescat/react-rating/events","assignees_url":"https://api.github.com/repos/dreyescat/react-rating/assignees{/user}","branches_url":"https://api.github.com/repos/dreyescat/react-rating/branches{/branch}","tags_url":"https://api.github.com/repos/dreyescat/react-rating/tags","blobs_url":"https://api.github.com/repos/dreyescat/react-rating/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dreyescat/react-rating/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dreyescat/react-rating/git/refs{/sha}","trees_url":"https://api.github.com/repos/dreyescat/react-rating/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dreyescat/react-rating/statuses/{sha}","languages_url":"https://api.github.com/repos/dreyescat/react-rating/languages","stargazers_url":"https://api.github.com/repos/dreyescat/react-rating/stargazers","contributors_url":"https://api.github.com/repos/dreyescat/react-rating/contributors","subscribers_url":"https://api.github.com/repos/dreyescat/react-rating/subscribers","subscription_url":"https://api.github.com/repos/dreyescat/react-rating/subscription","commits_url":"https://api.github.com/repos/dreyescat/react-rating/commits{/sha}","git_commits_url":"https://api.github.com/repos/dreyescat/react-rating/git/commits{/sha}","comments_url":"https://api.github.com/repos/dreyescat/react-rating/comments{/number}","issue_comment_url":"https://api.github.com/repos/dreyescat/react-rating/issues/comments{/number}","contents_url":"https://api.github.com/repos/dreyescat/react-rating/contents/{+path}","compare_url":"https://api.github.com/repos/dreyescat/react-rating/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dreyescat/react-rating/merges","archive_url":"https://api.github.com/repos/dreyescat/react-rating/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dreyescat/react-rating/downloads","issues_url":"https://api.github.com/repos/dreyescat/react-rating/issues{/number}","pulls_url":"https://api.github.com/repos/dreyescat/react-rating/pulls{/number}","milestones_url":"https://api.github.com/repos/dreyescat/react-rating/milestones{/number}","notifications_url":"https://api.github.com/repos/dreyescat/react-rating/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dreyescat/react-rating/labels{/name}","releases_url":"https://api.github.com/repos/dreyescat/react-rating/releases{/id}","deployments_url":"https://api.github.com/repos/dreyescat/react-rating/deployments","created_at":"2015-07-19T22:19:58Z","updated_at":"2018-11-13T03:19:17Z","pushed_at":"2018-11-22T16:57:47Z","git_url":"git://github.com/dreyescat/react-rating.git","ssh_url":"git@github.com:dreyescat/react-rating.git","clone_url":"https://github.com/dreyescat/react-rating.git","svn_url":"https://github.com/dreyescat/react-rating","homepage":"http://dreyescat.github.io/react-rating/","size":4653,"stargazers_count":247,"watchers_count":247,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":59,"open_issues":16,"watchers":247,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dreyescat/react-rating/pulls/115"},"html":{"href":"https://github.com/dreyescat/react-rating/pull/115"},"issue":{"href":"https://api.github.com/repos/dreyescat/react-rating/issues/115"},"comments":{"href":"https://api.github.com/repos/dreyescat/react-rating/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/dreyescat/react-rating/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/dreyescat/react-rating/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dreyescat/react-rating/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/dreyescat/react-rating/statuses/e1e44913c2c4c1696fbb668c969ce956bb7016e1"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":6,"additions":9,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"KyleDavisDev"}}