{"action":"created","comment":{"url":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/comments/255814081","pull_request_review_id":202491440,"id":255814081,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1NTgxNDA4MQ==","diff_hunk":"@@ -1,43 +1,43 @@\n ---\n id: handling-events\n-title: Handling Events\n+title: Penanganan Events\n permalink: docs/handling-events.html\n prev: state-and-lifecycle.html\n next: conditional-rendering.html\n redirect_from:\n   - \"docs/events-ko-KR.html\"\n ---\n \n-Handling events with React elements is very similar to handling events on DOM elements. There are some syntactic differences:\n+Menangani sebuah *events* dengan elemen React sangat mirip seperti menangani sebuah *events* pada elemen DOM. Ada beberapa perbedaan sintaks:\n \n-* React events are named using camelCase, rather than lowercase.\n-* With JSX you pass a function as the event handler, rather than a string.\n+* *Events* pada React biasanya dituliskan dalam bentuk camelCase, dan bukan lowercase.\n+* Dengan JSX Anda dapat oper sebuah *function* sebagai *event handler*, dan bukan sebuah *string*.","path":"content/docs/handling-events.md","position":18,"original_position":18,"commit_id":"54040e2591495ae8913a02c3f2e99e258bc31d44","original_commit_id":"54040e2591495ae8913a02c3f2e99e258bc31d44","user":{"login":"spondbob","id":2705042,"node_id":"MDQ6VXNlcjI3MDUwNDI=","avatar_url":"https://avatars1.githubusercontent.com/u/2705042?v=4","gravatar_id":"","url":"https://api.github.com/users/spondbob","html_url":"https://github.com/spondbob","followers_url":"https://api.github.com/users/spondbob/followers","following_url":"https://api.github.com/users/spondbob/following{/other_user}","gists_url":"https://api.github.com/users/spondbob/gists{/gist_id}","starred_url":"https://api.github.com/users/spondbob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spondbob/subscriptions","organizations_url":"https://api.github.com/users/spondbob/orgs","repos_url":"https://api.github.com/users/spondbob/repos","events_url":"https://api.github.com/users/spondbob/events{/privacy}","received_events_url":"https://api.github.com/users/spondbob/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n* Dengan JSX Anda dapat mengoper *function* sebagai *event handler*, bukan sebagai *string*.\r\n```","created_at":"2019-02-12T06:08:38Z","updated_at":"2019-02-12T06:17:32Z","html_url":"https://github.com/reactjs/id.reactjs.org/pull/17#discussion_r255814081","pull_request_url":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/17","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/comments/255814081"},"html":{"href":"https://github.com/reactjs/id.reactjs.org/pull/17#discussion_r255814081"},"pull_request":{"href":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/17","id":251892910,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUxODkyOTEw","html_url":"https://github.com/reactjs/id.reactjs.org/pull/17","diff_url":"https://github.com/reactjs/id.reactjs.org/pull/17.diff","patch_url":"https://github.com/reactjs/id.reactjs.org/pull/17.patch","issue_url":"https://api.github.com/repos/reactjs/id.reactjs.org/issues/17","number":17,"state":"open","locked":false,"title":"Translation Handling-Events","user":{"login":"TitusEfferian","id":27436728,"node_id":"MDQ6VXNlcjI3NDM2NzI4","avatar_url":"https://avatars0.githubusercontent.com/u/27436728?v=4","gravatar_id":"","url":"https://api.github.com/users/TitusEfferian","html_url":"https://github.com/TitusEfferian","followers_url":"https://api.github.com/users/TitusEfferian/followers","following_url":"https://api.github.com/users/TitusEfferian/following{/other_user}","gists_url":"https://api.github.com/users/TitusEfferian/gists{/gist_id}","starred_url":"https://api.github.com/users/TitusEfferian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TitusEfferian/subscriptions","organizations_url":"https://api.github.com/users/TitusEfferian/orgs","repos_url":"https://api.github.com/users/TitusEfferian/repos","events_url":"https://api.github.com/users/TitusEfferian/events{/privacy}","received_events_url":"https://api.github.com/users/TitusEfferian/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-02-11T12:16:40Z","updated_at":"2019-02-12T06:17:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9def409873a2d248869e2c9412167157e1d176c7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/17/commits","review_comments_url":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/17/comments","review_comment_url":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reactjs/id.reactjs.org/issues/17/comments","statuses_url":"https://api.github.com/repos/reactjs/id.reactjs.org/statuses/54040e2591495ae8913a02c3f2e99e258bc31d44","head":{"label":"TitusEfferian:tr/handling-events","ref":"tr/handling-events","sha":"54040e2591495ae8913a02c3f2e99e258bc31d44","user":{"login":"TitusEfferian","id":27436728,"node_id":"MDQ6VXNlcjI3NDM2NzI4","avatar_url":"https://avatars0.githubusercontent.com/u/27436728?v=4","gravatar_id":"","url":"https://api.github.com/users/TitusEfferian","html_url":"https://github.com/TitusEfferian","followers_url":"https://api.github.com/users/TitusEfferian/followers","following_url":"https://api.github.com/users/TitusEfferian/following{/other_user}","gists_url":"https://api.github.com/users/TitusEfferian/gists{/gist_id}","starred_url":"https://api.github.com/users/TitusEfferian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TitusEfferian/subscriptions","organizations_url":"https://api.github.com/users/TitusEfferian/orgs","repos_url":"https://api.github.com/users/TitusEfferian/repos","events_url":"https://api.github.com/users/TitusEfferian/events{/privacy}","received_events_url":"https://api.github.com/users/TitusEfferian/received_events","type":"User","site_admin":false},"repo":{"id":169719293,"node_id":"MDEwOlJlcG9zaXRvcnkxNjk3MTkyOTM=","name":"id.reactjs.org","full_name":"TitusEfferian/id.reactjs.org","private":false,"owner":{"login":"TitusEfferian","id":27436728,"node_id":"MDQ6VXNlcjI3NDM2NzI4","avatar_url":"https://avatars0.githubusercontent.com/u/27436728?v=4","gravatar_id":"","url":"https://api.github.com/users/TitusEfferian","html_url":"https://github.com/TitusEfferian","followers_url":"https://api.github.com/users/TitusEfferian/followers","following_url":"https://api.github.com/users/TitusEfferian/following{/other_user}","gists_url":"https://api.github.com/users/TitusEfferian/gists{/gist_id}","starred_url":"https://api.github.com/users/TitusEfferian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TitusEfferian/subscriptions","organizations_url":"https://api.github.com/users/TitusEfferian/orgs","repos_url":"https://api.github.com/users/TitusEfferian/repos","events_url":"https://api.github.com/users/TitusEfferian/events{/privacy}","received_events_url":"https://api.github.com/users/TitusEfferian/received_events","type":"User","site_admin":false},"html_url":"https://github.com/TitusEfferian/id.reactjs.org","description":"(Work in progress) React documentation website in Indonesian","fork":true,"url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org","forks_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/forks","keys_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/teams","hooks_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/hooks","issue_events_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/issues/events{/number}","events_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/events","assignees_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/assignees{/user}","branches_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/branches{/branch}","tags_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/tags","blobs_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/languages","stargazers_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/stargazers","contributors_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/contributors","subscribers_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/subscribers","subscription_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/subscription","commits_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/contents/{+path}","compare_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/merges","archive_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/downloads","issues_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/issues{/number}","pulls_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/labels{/name}","releases_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/releases{/id}","deployments_url":"https://api.github.com/repos/TitusEfferian/id.reactjs.org/deployments","created_at":"2019-02-08T10:37:33Z","updated_at":"2019-02-08T16:44:45Z","pushed_at":"2019-02-11T12:25:50Z","git_url":"git://github.com/TitusEfferian/id.reactjs.org.git","ssh_url":"git@github.com:TitusEfferian/id.reactjs.org.git","clone_url":"https://github.com/TitusEfferian/id.reactjs.org.git","svn_url":"https://github.com/TitusEfferian/id.reactjs.org","homepage":null,"size":70940,"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":"cc-by-4.0","name":"Creative Commons Attribution 4.0 International","spdx_id":"CC-BY-4.0","url":"https://api.github.com/licenses/cc-by-4.0","node_id":"MDc6TGljZW5zZTI1"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"reactjs:master","ref":"master","sha":"c769b0aa86d9cc7d09a6ba77e7362f2b26a76f3b","user":{"login":"reactjs","id":6412038,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTIwMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/6412038?v=4","gravatar_id":"","url":"https://api.github.com/users/reactjs","html_url":"https://github.com/reactjs","followers_url":"https://api.github.com/users/reactjs/followers","following_url":"https://api.github.com/users/reactjs/following{/other_user}","gists_url":"https://api.github.com/users/reactjs/gists{/gist_id}","starred_url":"https://api.github.com/users/reactjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactjs/subscriptions","organizations_url":"https://api.github.com/users/reactjs/orgs","repos_url":"https://api.github.com/users/reactjs/repos","events_url":"https://api.github.com/users/reactjs/events{/privacy}","received_events_url":"https://api.github.com/users/reactjs/received_events","type":"Organization","site_admin":false},"repo":{"id":169658710,"node_id":"MDEwOlJlcG9zaXRvcnkxNjk2NTg3MTA=","name":"id.reactjs.org","full_name":"reactjs/id.reactjs.org","private":false,"owner":{"login":"reactjs","id":6412038,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTIwMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/6412038?v=4","gravatar_id":"","url":"https://api.github.com/users/reactjs","html_url":"https://github.com/reactjs","followers_url":"https://api.github.com/users/reactjs/followers","following_url":"https://api.github.com/users/reactjs/following{/other_user}","gists_url":"https://api.github.com/users/reactjs/gists{/gist_id}","starred_url":"https://api.github.com/users/reactjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactjs/subscriptions","organizations_url":"https://api.github.com/users/reactjs/orgs","repos_url":"https://api.github.com/users/reactjs/repos","events_url":"https://api.github.com/users/reactjs/events{/privacy}","received_events_url":"https://api.github.com/users/reactjs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/reactjs/id.reactjs.org","description":"(Work in progress) React documentation website in Indonesian","fork":false,"url":"https://api.github.com/repos/reactjs/id.reactjs.org","forks_url":"https://api.github.com/repos/reactjs/id.reactjs.org/forks","keys_url":"https://api.github.com/repos/reactjs/id.reactjs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reactjs/id.reactjs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reactjs/id.reactjs.org/teams","hooks_url":"https://api.github.com/repos/reactjs/id.reactjs.org/hooks","issue_events_url":"https://api.github.com/repos/reactjs/id.reactjs.org/issues/events{/number}","events_url":"https://api.github.com/repos/reactjs/id.reactjs.org/events","assignees_url":"https://api.github.com/repos/reactjs/id.reactjs.org/assignees{/user}","branches_url":"https://api.github.com/repos/reactjs/id.reactjs.org/branches{/branch}","tags_url":"https://api.github.com/repos/reactjs/id.reactjs.org/tags","blobs_url":"https://api.github.com/repos/reactjs/id.reactjs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reactjs/id.reactjs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reactjs/id.reactjs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/reactjs/id.reactjs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reactjs/id.reactjs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/reactjs/id.reactjs.org/languages","stargazers_url":"https://api.github.com/repos/reactjs/id.reactjs.org/stargazers","contributors_url":"https://api.github.com/repos/reactjs/id.reactjs.org/contributors","subscribers_url":"https://api.github.com/repos/reactjs/id.reactjs.org/subscribers","subscription_url":"https://api.github.com/repos/reactjs/id.reactjs.org/subscription","commits_url":"https://api.github.com/repos/reactjs/id.reactjs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/reactjs/id.reactjs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/reactjs/id.reactjs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/reactjs/id.reactjs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/reactjs/id.reactjs.org/contents/{+path}","compare_url":"https://api.github.com/repos/reactjs/id.reactjs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reactjs/id.reactjs.org/merges","archive_url":"https://api.github.com/repos/reactjs/id.reactjs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reactjs/id.reactjs.org/downloads","issues_url":"https://api.github.com/repos/reactjs/id.reactjs.org/issues{/number}","pulls_url":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/reactjs/id.reactjs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/reactjs/id.reactjs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reactjs/id.reactjs.org/labels{/name}","releases_url":"https://api.github.com/repos/reactjs/id.reactjs.org/releases{/id}","deployments_url":"https://api.github.com/repos/reactjs/id.reactjs.org/deployments","created_at":"2019-02-07T23:24:57Z","updated_at":"2019-02-12T03:25:16Z","pushed_at":"2019-02-12T06:10:15Z","git_url":"git://github.com/reactjs/id.reactjs.org.git","ssh_url":"git@github.com:reactjs/id.reactjs.org.git","clone_url":"https://github.com/reactjs/id.reactjs.org.git","svn_url":"https://github.com/reactjs/id.reactjs.org","homepage":null,"size":70946,"stargazers_count":52,"watchers_count":52,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"cc-by-4.0","name":"Creative Commons Attribution 4.0 International","spdx_id":"CC-BY-4.0","url":"https://api.github.com/licenses/cc-by-4.0","node_id":"MDc6TGljZW5zZTI1"},"forks":34,"open_issues":13,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/17"},"html":{"href":"https://github.com/reactjs/id.reactjs.org/pull/17"},"issue":{"href":"https://api.github.com/repos/reactjs/id.reactjs.org/issues/17"},"comments":{"href":"https://api.github.com/repos/reactjs/id.reactjs.org/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reactjs/id.reactjs.org/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/reactjs/id.reactjs.org/statuses/54040e2591495ae8913a02c3f2e99e258bc31d44"}},"author_association":"NONE"}}
{"actor":{"display_login":"spondbob"}}