{"action":"created","comment":{"url":"https://api.github.com/repos/trivago/melody/pulls/comments/243526123","pull_request_review_id":187319110,"id":243526123,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzUyNjEyMw==","diff_hunk":"@@ -23,6 +23,13 @@ export const setCurrentComponent = c => {\n     currentComponent = c;\n };\n \n+export const getCurrentComponent = () => {","path":"packages/melody-hooks/src/util/hooks.js","position":4,"original_position":4,"commit_id":"1b4b1e6f3c2968dc0760d01af3ff446107ef19e7","original_commit_id":"1b4b1e6f3c2968dc0760d01af3ff446107ef19e7","user":{"login":"malte-wessel","id":1020216,"node_id":"MDQ6VXNlcjEwMjAyMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1020216?v=4","gravatar_id":"","url":"https://api.github.com/users/malte-wessel","html_url":"https://github.com/malte-wessel","followers_url":"https://api.github.com/users/malte-wessel/followers","following_url":"https://api.github.com/users/malte-wessel/following{/other_user}","gists_url":"https://api.github.com/users/malte-wessel/gists{/gist_id}","starred_url":"https://api.github.com/users/malte-wessel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malte-wessel/subscriptions","organizations_url":"https://api.github.com/users/malte-wessel/orgs","repos_url":"https://api.github.com/users/malte-wessel/repos","events_url":"https://api.github.com/users/malte-wessel/events{/privacy}","received_events_url":"https://api.github.com/users/malte-wessel/received_events","type":"User","site_admin":false},"body":"What is the reason for adding this function? I don't see any usage of it.","created_at":"2018-12-21T09:14:17Z","updated_at":"2018-12-21T09:45:26Z","html_url":"https://github.com/trivago/melody/pull/79#discussion_r243526123","pull_request_url":"https://api.github.com/repos/trivago/melody/pulls/79","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/trivago/melody/pulls/comments/243526123"},"html":{"href":"https://github.com/trivago/melody/pull/79#discussion_r243526123"},"pull_request":{"href":"https://api.github.com/repos/trivago/melody/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/trivago/melody/pulls/79","id":239709637,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NzA5NjM3","html_url":"https://github.com/trivago/melody/pull/79","diff_url":"https://github.com/trivago/melody/pull/79.diff","patch_url":"https://github.com/trivago/melody/pull/79.patch","issue_url":"https://api.github.com/repos/trivago/melody/issues/79","number":79,"state":"open","locked":false,"title":"Add useatom","user":{"login":"pago","id":193788,"node_id":"MDQ6VXNlcjE5Mzc4OA==","avatar_url":"https://avatars3.githubusercontent.com/u/193788?v=4","gravatar_id":"","url":"https://api.github.com/users/pago","html_url":"https://github.com/pago","followers_url":"https://api.github.com/users/pago/followers","following_url":"https://api.github.com/users/pago/following{/other_user}","gists_url":"https://api.github.com/users/pago/gists{/gist_id}","starred_url":"https://api.github.com/users/pago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pago/subscriptions","organizations_url":"https://api.github.com/users/pago/orgs","repos_url":"https://api.github.com/users/pago/repos","events_url":"https://api.github.com/users/pago/events{/privacy}","received_events_url":"https://api.github.com/users/pago/received_events","type":"User","site_admin":false},"body":"#### What changed in this PR:\r\n\r\nIntroduce a `useAtom` hook. Documentation: https://melody-js.gitbook.io/docs/melody-hooks-api/useatom","created_at":"2018-12-19T04:35:15Z","updated_at":"2018-12-21T09:45:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27ce2251bd7ab2cfbf77d2bdbe751607e005c832","assignee":null,"assignees":[],"requested_reviewers":[{"login":"krakenfuss","id":959683,"node_id":"MDQ6VXNlcjk1OTY4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/959683?v=4","gravatar_id":"","url":"https://api.github.com/users/krakenfuss","html_url":"https://github.com/krakenfuss","followers_url":"https://api.github.com/users/krakenfuss/followers","following_url":"https://api.github.com/users/krakenfuss/following{/other_user}","gists_url":"https://api.github.com/users/krakenfuss/gists{/gist_id}","starred_url":"https://api.github.com/users/krakenfuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krakenfuss/subscriptions","organizations_url":"https://api.github.com/users/krakenfuss/orgs","repos_url":"https://api.github.com/users/krakenfuss/repos","events_url":"https://api.github.com/users/krakenfuss/events{/privacy}","received_events_url":"https://api.github.com/users/krakenfuss/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/trivago/melody/pulls/79/commits","review_comments_url":"https://api.github.com/repos/trivago/melody/pulls/79/comments","review_comment_url":"https://api.github.com/repos/trivago/melody/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trivago/melody/issues/79/comments","statuses_url":"https://api.github.com/repos/trivago/melody/statuses/1b4b1e6f3c2968dc0760d01af3ff446107ef19e7","head":{"label":"trivago:add-useatom","ref":"add-useatom","sha":"1b4b1e6f3c2968dc0760d01af3ff446107ef19e7","user":{"login":"trivago","id":1481788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODE3ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/1481788?v=4","gravatar_id":"","url":"https://api.github.com/users/trivago","html_url":"https://github.com/trivago","followers_url":"https://api.github.com/users/trivago/followers","following_url":"https://api.github.com/users/trivago/following{/other_user}","gists_url":"https://api.github.com/users/trivago/gists{/gist_id}","starred_url":"https://api.github.com/users/trivago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trivago/subscriptions","organizations_url":"https://api.github.com/users/trivago/orgs","repos_url":"https://api.github.com/users/trivago/repos","events_url":"https://api.github.com/users/trivago/events{/privacy}","received_events_url":"https://api.github.com/users/trivago/received_events","type":"Organization","site_admin":false},"repo":{"id":107542710,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NDI3MTA=","name":"melody","full_name":"trivago/melody","private":false,"owner":{"login":"trivago","id":1481788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODE3ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/1481788?v=4","gravatar_id":"","url":"https://api.github.com/users/trivago","html_url":"https://github.com/trivago","followers_url":"https://api.github.com/users/trivago/followers","following_url":"https://api.github.com/users/trivago/following{/other_user}","gists_url":"https://api.github.com/users/trivago/gists{/gist_id}","starred_url":"https://api.github.com/users/trivago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trivago/subscriptions","organizations_url":"https://api.github.com/users/trivago/orgs","repos_url":"https://api.github.com/users/trivago/repos","events_url":"https://api.github.com/users/trivago/events{/privacy}","received_events_url":"https://api.github.com/users/trivago/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/trivago/melody","description":"Melody is a library for building JavaScript web applications.","fork":false,"url":"https://api.github.com/repos/trivago/melody","forks_url":"https://api.github.com/repos/trivago/melody/forks","keys_url":"https://api.github.com/repos/trivago/melody/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trivago/melody/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trivago/melody/teams","hooks_url":"https://api.github.com/repos/trivago/melody/hooks","issue_events_url":"https://api.github.com/repos/trivago/melody/issues/events{/number}","events_url":"https://api.github.com/repos/trivago/melody/events","assignees_url":"https://api.github.com/repos/trivago/melody/assignees{/user}","branches_url":"https://api.github.com/repos/trivago/melody/branches{/branch}","tags_url":"https://api.github.com/repos/trivago/melody/tags","blobs_url":"https://api.github.com/repos/trivago/melody/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trivago/melody/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trivago/melody/git/refs{/sha}","trees_url":"https://api.github.com/repos/trivago/melody/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trivago/melody/statuses/{sha}","languages_url":"https://api.github.com/repos/trivago/melody/languages","stargazers_url":"https://api.github.com/repos/trivago/melody/stargazers","contributors_url":"https://api.github.com/repos/trivago/melody/contributors","subscribers_url":"https://api.github.com/repos/trivago/melody/subscribers","subscription_url":"https://api.github.com/repos/trivago/melody/subscription","commits_url":"https://api.github.com/repos/trivago/melody/commits{/sha}","git_commits_url":"https://api.github.com/repos/trivago/melody/git/commits{/sha}","comments_url":"https://api.github.com/repos/trivago/melody/comments{/number}","issue_comment_url":"https://api.github.com/repos/trivago/melody/issues/comments{/number}","contents_url":"https://api.github.com/repos/trivago/melody/contents/{+path}","compare_url":"https://api.github.com/repos/trivago/melody/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trivago/melody/merges","archive_url":"https://api.github.com/repos/trivago/melody/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trivago/melody/downloads","issues_url":"https://api.github.com/repos/trivago/melody/issues{/number}","pulls_url":"https://api.github.com/repos/trivago/melody/pulls{/number}","milestones_url":"https://api.github.com/repos/trivago/melody/milestones{/number}","notifications_url":"https://api.github.com/repos/trivago/melody/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trivago/melody/labels{/name}","releases_url":"https://api.github.com/repos/trivago/melody/releases{/id}","deployments_url":"https://api.github.com/repos/trivago/melody/deployments","created_at":"2017-10-19T12:23:52Z","updated_at":"2018-12-19T04:39:57Z","pushed_at":"2018-12-20T11:21:32Z","git_url":"git://github.com/trivago/melody.git","ssh_url":"git@github.com:trivago/melody.git","clone_url":"https://github.com/trivago/melody.git","svn_url":"https://github.com/trivago/melody","homepage":"https://melody.js.org","size":497,"stargazers_count":91,"watchers_count":91,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":19,"open_issues":18,"watchers":91,"default_branch":"master"}},"base":{"label":"trivago:master","ref":"master","sha":"6c218ccc42b733afbddded0cb4ca4b45657561df","user":{"login":"trivago","id":1481788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODE3ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/1481788?v=4","gravatar_id":"","url":"https://api.github.com/users/trivago","html_url":"https://github.com/trivago","followers_url":"https://api.github.com/users/trivago/followers","following_url":"https://api.github.com/users/trivago/following{/other_user}","gists_url":"https://api.github.com/users/trivago/gists{/gist_id}","starred_url":"https://api.github.com/users/trivago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trivago/subscriptions","organizations_url":"https://api.github.com/users/trivago/orgs","repos_url":"https://api.github.com/users/trivago/repos","events_url":"https://api.github.com/users/trivago/events{/privacy}","received_events_url":"https://api.github.com/users/trivago/received_events","type":"Organization","site_admin":false},"repo":{"id":107542710,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NDI3MTA=","name":"melody","full_name":"trivago/melody","private":false,"owner":{"login":"trivago","id":1481788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODE3ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/1481788?v=4","gravatar_id":"","url":"https://api.github.com/users/trivago","html_url":"https://github.com/trivago","followers_url":"https://api.github.com/users/trivago/followers","following_url":"https://api.github.com/users/trivago/following{/other_user}","gists_url":"https://api.github.com/users/trivago/gists{/gist_id}","starred_url":"https://api.github.com/users/trivago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trivago/subscriptions","organizations_url":"https://api.github.com/users/trivago/orgs","repos_url":"https://api.github.com/users/trivago/repos","events_url":"https://api.github.com/users/trivago/events{/privacy}","received_events_url":"https://api.github.com/users/trivago/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/trivago/melody","description":"Melody is a library for building JavaScript web applications.","fork":false,"url":"https://api.github.com/repos/trivago/melody","forks_url":"https://api.github.com/repos/trivago/melody/forks","keys_url":"https://api.github.com/repos/trivago/melody/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trivago/melody/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trivago/melody/teams","hooks_url":"https://api.github.com/repos/trivago/melody/hooks","issue_events_url":"https://api.github.com/repos/trivago/melody/issues/events{/number}","events_url":"https://api.github.com/repos/trivago/melody/events","assignees_url":"https://api.github.com/repos/trivago/melody/assignees{/user}","branches_url":"https://api.github.com/repos/trivago/melody/branches{/branch}","tags_url":"https://api.github.com/repos/trivago/melody/tags","blobs_url":"https://api.github.com/repos/trivago/melody/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trivago/melody/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trivago/melody/git/refs{/sha}","trees_url":"https://api.github.com/repos/trivago/melody/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trivago/melody/statuses/{sha}","languages_url":"https://api.github.com/repos/trivago/melody/languages","stargazers_url":"https://api.github.com/repos/trivago/melody/stargazers","contributors_url":"https://api.github.com/repos/trivago/melody/contributors","subscribers_url":"https://api.github.com/repos/trivago/melody/subscribers","subscription_url":"https://api.github.com/repos/trivago/melody/subscription","commits_url":"https://api.github.com/repos/trivago/melody/commits{/sha}","git_commits_url":"https://api.github.com/repos/trivago/melody/git/commits{/sha}","comments_url":"https://api.github.com/repos/trivago/melody/comments{/number}","issue_comment_url":"https://api.github.com/repos/trivago/melody/issues/comments{/number}","contents_url":"https://api.github.com/repos/trivago/melody/contents/{+path}","compare_url":"https://api.github.com/repos/trivago/melody/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trivago/melody/merges","archive_url":"https://api.github.com/repos/trivago/melody/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trivago/melody/downloads","issues_url":"https://api.github.com/repos/trivago/melody/issues{/number}","pulls_url":"https://api.github.com/repos/trivago/melody/pulls{/number}","milestones_url":"https://api.github.com/repos/trivago/melody/milestones{/number}","notifications_url":"https://api.github.com/repos/trivago/melody/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trivago/melody/labels{/name}","releases_url":"https://api.github.com/repos/trivago/melody/releases{/id}","deployments_url":"https://api.github.com/repos/trivago/melody/deployments","created_at":"2017-10-19T12:23:52Z","updated_at":"2018-12-19T04:39:57Z","pushed_at":"2018-12-20T11:21:32Z","git_url":"git://github.com/trivago/melody.git","ssh_url":"git@github.com:trivago/melody.git","clone_url":"https://github.com/trivago/melody.git","svn_url":"https://github.com/trivago/melody","homepage":"https://melody.js.org","size":497,"stargazers_count":91,"watchers_count":91,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":19,"open_issues":18,"watchers":91,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trivago/melody/pulls/79"},"html":{"href":"https://github.com/trivago/melody/pull/79"},"issue":{"href":"https://api.github.com/repos/trivago/melody/issues/79"},"comments":{"href":"https://api.github.com/repos/trivago/melody/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/trivago/melody/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/trivago/melody/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trivago/melody/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/trivago/melody/statuses/1b4b1e6f3c2968dc0760d01af3ff446107ef19e7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"malte-wessel"}}