{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls/6","id":54916859,"html_url":"https://github.com/romainberger/react-portal-tooltip/pull/6","diff_url":"https://github.com/romainberger/react-portal-tooltip/pull/6.diff","patch_url":"https://github.com/romainberger/react-portal-tooltip/pull/6.patch","issue_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/6","number":6,"state":"closed","locked":false,"title":"move react, react-dom to peerDependencies","user":{"login":"bjrmatos","id":4262050,"avatar_url":"https://avatars.githubusercontent.com/u/4262050?v=3","gravatar_id":"","url":"https://api.github.com/users/bjrmatos","html_url":"https://github.com/bjrmatos","followers_url":"https://api.github.com/users/bjrmatos/followers","following_url":"https://api.github.com/users/bjrmatos/following{/other_user}","gists_url":"https://api.github.com/users/bjrmatos/gists{/gist_id}","starred_url":"https://api.github.com/users/bjrmatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjrmatos/subscriptions","organizations_url":"https://api.github.com/users/bjrmatos/orgs","repos_url":"https://api.github.com/users/bjrmatos/repos","events_url":"https://api.github.com/users/bjrmatos/events{/privacy}","received_events_url":"https://api.github.com/users/bjrmatos/received_events","type":"User","site_admin":false},"body":"react and react-dom being a peerDependencie prevents to duplicate react packages when bundling (with webpack or browserify), [see this article for more context](https://medium.com/@dan_abramov/two-weird-tricks-that-fix-react-7cf9bbdef375#.uag2934iw).\r\n\r\nalso, this approach is taken by other [popular project](https://github.com/rackt/react-redux/blob/master/package.json#L73)","created_at":"2016-01-03T01:58:22Z","updated_at":"2016-01-29T13:56:44Z","closed_at":"2016-01-29T13:56:44Z","merged_at":"2016-01-29T13:56:44Z","merge_commit_sha":"10673a97814a3de0f483c753b90538479f1e1dbf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls/6/commits","review_comments_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls/6/comments","review_comment_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/6/comments","statuses_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/statuses/0da4bfc794592aad9bf40052ccaa94028d635865","head":{"label":"bjrmatos:master","ref":"master","sha":"0da4bfc794592aad9bf40052ccaa94028d635865","user":{"login":"bjrmatos","id":4262050,"avatar_url":"https://avatars.githubusercontent.com/u/4262050?v=3","gravatar_id":"","url":"https://api.github.com/users/bjrmatos","html_url":"https://github.com/bjrmatos","followers_url":"https://api.github.com/users/bjrmatos/followers","following_url":"https://api.github.com/users/bjrmatos/following{/other_user}","gists_url":"https://api.github.com/users/bjrmatos/gists{/gist_id}","starred_url":"https://api.github.com/users/bjrmatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjrmatos/subscriptions","organizations_url":"https://api.github.com/users/bjrmatos/orgs","repos_url":"https://api.github.com/users/bjrmatos/repos","events_url":"https://api.github.com/users/bjrmatos/events{/privacy}","received_events_url":"https://api.github.com/users/bjrmatos/received_events","type":"User","site_admin":false},"repo":{"id":48930449,"name":"react-portal-tooltip","full_name":"bjrmatos/react-portal-tooltip","owner":{"login":"bjrmatos","id":4262050,"avatar_url":"https://avatars.githubusercontent.com/u/4262050?v=3","gravatar_id":"","url":"https://api.github.com/users/bjrmatos","html_url":"https://github.com/bjrmatos","followers_url":"https://api.github.com/users/bjrmatos/followers","following_url":"https://api.github.com/users/bjrmatos/following{/other_user}","gists_url":"https://api.github.com/users/bjrmatos/gists{/gist_id}","starred_url":"https://api.github.com/users/bjrmatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjrmatos/subscriptions","organizations_url":"https://api.github.com/users/bjrmatos/orgs","repos_url":"https://api.github.com/users/bjrmatos/repos","events_url":"https://api.github.com/users/bjrmatos/events{/privacy}","received_events_url":"https://api.github.com/users/bjrmatos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bjrmatos/react-portal-tooltip","description":"Awesome React tooltip","fork":true,"url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip","forks_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/forks","keys_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/teams","hooks_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/hooks","issue_events_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/issues/events{/number}","events_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/events","assignees_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/assignees{/user}","branches_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/branches{/branch}","tags_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/tags","blobs_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/git/refs{/sha}","trees_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/statuses/{sha}","languages_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/languages","stargazers_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/stargazers","contributors_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/contributors","subscribers_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/subscribers","subscription_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/subscription","commits_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/commits{/sha}","git_commits_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/git/commits{/sha}","comments_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/comments{/number}","issue_comment_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/issues/comments{/number}","contents_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/contents/{+path}","compare_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/merges","archive_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/downloads","issues_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/issues{/number}","pulls_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/pulls{/number}","milestones_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/milestones{/number}","notifications_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/labels{/name}","releases_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/releases{/id}","deployments_url":"https://api.github.com/repos/bjrmatos/react-portal-tooltip/deployments","created_at":"2016-01-03T01:49:12Z","updated_at":"2016-01-03T01:49:13Z","pushed_at":"2016-01-03T02:01:49Z","git_url":"git://github.com/bjrmatos/react-portal-tooltip.git","ssh_url":"git@github.com:bjrmatos/react-portal-tooltip.git","clone_url":"https://github.com/bjrmatos/react-portal-tooltip.git","svn_url":"https://github.com/bjrmatos/react-portal-tooltip","homepage":"http://romainberger.github.io/react-portal-tooltip/","size":1386,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"romainberger:master","ref":"master","sha":"796f82335d619204537bead82be48a83706570e2","user":{"login":"romainberger","id":1272948,"avatar_url":"https://avatars.githubusercontent.com/u/1272948?v=3","gravatar_id":"","url":"https://api.github.com/users/romainberger","html_url":"https://github.com/romainberger","followers_url":"https://api.github.com/users/romainberger/followers","following_url":"https://api.github.com/users/romainberger/following{/other_user}","gists_url":"https://api.github.com/users/romainberger/gists{/gist_id}","starred_url":"https://api.github.com/users/romainberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainberger/subscriptions","organizations_url":"https://api.github.com/users/romainberger/orgs","repos_url":"https://api.github.com/users/romainberger/repos","events_url":"https://api.github.com/users/romainberger/events{/privacy}","received_events_url":"https://api.github.com/users/romainberger/received_events","type":"User","site_admin":false},"repo":{"id":40365719,"name":"react-portal-tooltip","full_name":"romainberger/react-portal-tooltip","owner":{"login":"romainberger","id":1272948,"avatar_url":"https://avatars.githubusercontent.com/u/1272948?v=3","gravatar_id":"","url":"https://api.github.com/users/romainberger","html_url":"https://github.com/romainberger","followers_url":"https://api.github.com/users/romainberger/followers","following_url":"https://api.github.com/users/romainberger/following{/other_user}","gists_url":"https://api.github.com/users/romainberger/gists{/gist_id}","starred_url":"https://api.github.com/users/romainberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainberger/subscriptions","organizations_url":"https://api.github.com/users/romainberger/orgs","repos_url":"https://api.github.com/users/romainberger/repos","events_url":"https://api.github.com/users/romainberger/events{/privacy}","received_events_url":"https://api.github.com/users/romainberger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/romainberger/react-portal-tooltip","description":"Awesome React tooltip","fork":false,"url":"https://api.github.com/repos/romainberger/react-portal-tooltip","forks_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/forks","keys_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/teams","hooks_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/hooks","issue_events_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/events{/number}","events_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/events","assignees_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/assignees{/user}","branches_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/branches{/branch}","tags_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/tags","blobs_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/git/refs{/sha}","trees_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/statuses/{sha}","languages_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/languages","stargazers_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/stargazers","contributors_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/contributors","subscribers_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/subscribers","subscription_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/subscription","commits_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/commits{/sha}","git_commits_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/git/commits{/sha}","comments_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/comments{/number}","issue_comment_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/comments{/number}","contents_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/contents/{+path}","compare_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/merges","archive_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/downloads","issues_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues{/number}","pulls_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls{/number}","milestones_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/milestones{/number}","notifications_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/labels{/name}","releases_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/releases{/id}","deployments_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/deployments","created_at":"2015-08-07T14:56:58Z","updated_at":"2016-01-29T01:41:39Z","pushed_at":"2016-01-29T13:56:44Z","git_url":"git://github.com/romainberger/react-portal-tooltip.git","ssh_url":"git@github.com:romainberger/react-portal-tooltip.git","clone_url":"https://github.com/romainberger/react-portal-tooltip.git","svn_url":"https://github.com/romainberger/react-portal-tooltip","homepage":"http://romainberger.github.io/react-portal-tooltip/","size":1387,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls/6"},"html":{"href":"https://github.com/romainberger/react-portal-tooltip/pull/6"},"issue":{"href":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/6"},"comments":{"href":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/romainberger/react-portal-tooltip/statuses/0da4bfc794592aad9bf40052ccaa94028d635865"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"romainberger","id":1272948,"avatar_url":"https://avatars.githubusercontent.com/u/1272948?v=3","gravatar_id":"","url":"https://api.github.com/users/romainberger","html_url":"https://github.com/romainberger","followers_url":"https://api.github.com/users/romainberger/followers","following_url":"https://api.github.com/users/romainberger/following{/other_user}","gists_url":"https://api.github.com/users/romainberger/gists{/gist_id}","starred_url":"https://api.github.com/users/romainberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainberger/subscriptions","organizations_url":"https://api.github.com/users/romainberger/orgs","repos_url":"https://api.github.com/users/romainberger/repos","events_url":"https://api.github.com/users/romainberger/events{/privacy}","received_events_url":"https://api.github.com/users/romainberger/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":9,"deletions":3,"changed_files":2}}