{"action":"closed","number":82,"pull_request":{"url":"https://api.github.com/repos/i18next/react-i18next/pulls/82","id":68224433,"html_url":"https://github.com/i18next/react-i18next/pull/82","diff_url":"https://github.com/i18next/react-i18next/pull/82.diff","patch_url":"https://github.com/i18next/react-i18next/pull/82.patch","issue_url":"https://api.github.com/repos/i18next/react-i18next/issues/82","number":82,"state":"closed","locked":false,"title":"Add getWrappedInstance() to translate wrapper","user":{"login":"vpriem","id":2834995,"avatar_url":"https://avatars.githubusercontent.com/u/2834995?v=3","gravatar_id":"","url":"https://api.github.com/users/vpriem","html_url":"https://github.com/vpriem","followers_url":"https://api.github.com/users/vpriem/followers","following_url":"https://api.github.com/users/vpriem/following{/other_user}","gists_url":"https://api.github.com/users/vpriem/gists{/gist_id}","starred_url":"https://api.github.com/users/vpriem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpriem/subscriptions","organizations_url":"https://api.github.com/users/vpriem/orgs","repos_url":"https://api.github.com/users/vpriem/repos","events_url":"https://api.github.com/users/vpriem/events{/privacy}","received_events_url":"https://api.github.com/users/vpriem/received_events","type":"User","site_admin":false},"body":"Sometimes you need to access to the component instance wrapped in the component returned by translate().\r\n\r\nNo magic, just copied the approach of react-redux [connect](https://github.com/reactjs/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options).","created_at":"2016-04-28T13:55:54Z","updated_at":"2016-04-29T13:19:34Z","closed_at":"2016-04-29T13:19:34Z","merged_at":"2016-04-29T13:19:34Z","merge_commit_sha":"369e4ff4fd0c4f447658121880635485551b0d1e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/i18next/react-i18next/pulls/82/commits","review_comments_url":"https://api.github.com/repos/i18next/react-i18next/pulls/82/comments","review_comment_url":"https://api.github.com/repos/i18next/react-i18next/pulls/comments{/number}","comments_url":"https://api.github.com/repos/i18next/react-i18next/issues/82/comments","statuses_url":"https://api.github.com/repos/i18next/react-i18next/statuses/f1342b4bb5ea809adc224b4c86e730a0a300f1fd","head":{"label":"vpriem:get-wrapped-instance","ref":"get-wrapped-instance","sha":"f1342b4bb5ea809adc224b4c86e730a0a300f1fd","user":{"login":"vpriem","id":2834995,"avatar_url":"https://avatars.githubusercontent.com/u/2834995?v=3","gravatar_id":"","url":"https://api.github.com/users/vpriem","html_url":"https://github.com/vpriem","followers_url":"https://api.github.com/users/vpriem/followers","following_url":"https://api.github.com/users/vpriem/following{/other_user}","gists_url":"https://api.github.com/users/vpriem/gists{/gist_id}","starred_url":"https://api.github.com/users/vpriem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpriem/subscriptions","organizations_url":"https://api.github.com/users/vpriem/orgs","repos_url":"https://api.github.com/users/vpriem/repos","events_url":"https://api.github.com/users/vpriem/events{/privacy}","received_events_url":"https://api.github.com/users/vpriem/received_events","type":"User","site_admin":false},"repo":{"id":57278859,"name":"react-i18next","full_name":"vpriem/react-i18next","owner":{"login":"vpriem","id":2834995,"avatar_url":"https://avatars.githubusercontent.com/u/2834995?v=3","gravatar_id":"","url":"https://api.github.com/users/vpriem","html_url":"https://github.com/vpriem","followers_url":"https://api.github.com/users/vpriem/followers","following_url":"https://api.github.com/users/vpriem/following{/other_user}","gists_url":"https://api.github.com/users/vpriem/gists{/gist_id}","starred_url":"https://api.github.com/users/vpriem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpriem/subscriptions","organizations_url":"https://api.github.com/users/vpriem/orgs","repos_url":"https://api.github.com/users/vpriem/repos","events_url":"https://api.github.com/users/vpriem/events{/privacy}","received_events_url":"https://api.github.com/users/vpriem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vpriem/react-i18next","description":"","fork":true,"url":"https://api.github.com/repos/vpriem/react-i18next","forks_url":"https://api.github.com/repos/vpriem/react-i18next/forks","keys_url":"https://api.github.com/repos/vpriem/react-i18next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vpriem/react-i18next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vpriem/react-i18next/teams","hooks_url":"https://api.github.com/repos/vpriem/react-i18next/hooks","issue_events_url":"https://api.github.com/repos/vpriem/react-i18next/issues/events{/number}","events_url":"https://api.github.com/repos/vpriem/react-i18next/events","assignees_url":"https://api.github.com/repos/vpriem/react-i18next/assignees{/user}","branches_url":"https://api.github.com/repos/vpriem/react-i18next/branches{/branch}","tags_url":"https://api.github.com/repos/vpriem/react-i18next/tags","blobs_url":"https://api.github.com/repos/vpriem/react-i18next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vpriem/react-i18next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vpriem/react-i18next/git/refs{/sha}","trees_url":"https://api.github.com/repos/vpriem/react-i18next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vpriem/react-i18next/statuses/{sha}","languages_url":"https://api.github.com/repos/vpriem/react-i18next/languages","stargazers_url":"https://api.github.com/repos/vpriem/react-i18next/stargazers","contributors_url":"https://api.github.com/repos/vpriem/react-i18next/contributors","subscribers_url":"https://api.github.com/repos/vpriem/react-i18next/subscribers","subscription_url":"https://api.github.com/repos/vpriem/react-i18next/subscription","commits_url":"https://api.github.com/repos/vpriem/react-i18next/commits{/sha}","git_commits_url":"https://api.github.com/repos/vpriem/react-i18next/git/commits{/sha}","comments_url":"https://api.github.com/repos/vpriem/react-i18next/comments{/number}","issue_comment_url":"https://api.github.com/repos/vpriem/react-i18next/issues/comments{/number}","contents_url":"https://api.github.com/repos/vpriem/react-i18next/contents/{+path}","compare_url":"https://api.github.com/repos/vpriem/react-i18next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vpriem/react-i18next/merges","archive_url":"https://api.github.com/repos/vpriem/react-i18next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vpriem/react-i18next/downloads","issues_url":"https://api.github.com/repos/vpriem/react-i18next/issues{/number}","pulls_url":"https://api.github.com/repos/vpriem/react-i18next/pulls{/number}","milestones_url":"https://api.github.com/repos/vpriem/react-i18next/milestones{/number}","notifications_url":"https://api.github.com/repos/vpriem/react-i18next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vpriem/react-i18next/labels{/name}","releases_url":"https://api.github.com/repos/vpriem/react-i18next/releases{/id}","deployments_url":"https://api.github.com/repos/vpriem/react-i18next/deployments","created_at":"2016-04-28T07:05:25Z","updated_at":"2016-04-28T07:05:26Z","pushed_at":"2016-04-29T12:44:24Z","git_url":"git://github.com/vpriem/react-i18next.git","ssh_url":"git@github.com:vpriem/react-i18next.git","clone_url":"https://github.com/vpriem/react-i18next.git","svn_url":"https://github.com/vpriem/react-i18next","homepage":null,"size":341,"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":"i18next:master","ref":"master","sha":"2ddf3ce6791d8bad113ed80995692a2127c98f4e","user":{"login":"i18next","id":8546082,"avatar_url":"https://avatars.githubusercontent.com/u/8546082?v=3","gravatar_id":"","url":"https://api.github.com/users/i18next","html_url":"https://github.com/i18next","followers_url":"https://api.github.com/users/i18next/followers","following_url":"https://api.github.com/users/i18next/following{/other_user}","gists_url":"https://api.github.com/users/i18next/gists{/gist_id}","starred_url":"https://api.github.com/users/i18next/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i18next/subscriptions","organizations_url":"https://api.github.com/users/i18next/orgs","repos_url":"https://api.github.com/users/i18next/repos","events_url":"https://api.github.com/users/i18next/events{/privacy}","received_events_url":"https://api.github.com/users/i18next/received_events","type":"Organization","site_admin":false},"repo":{"id":47878060,"name":"react-i18next","full_name":"i18next/react-i18next","owner":{"login":"i18next","id":8546082,"avatar_url":"https://avatars.githubusercontent.com/u/8546082?v=3","gravatar_id":"","url":"https://api.github.com/users/i18next","html_url":"https://github.com/i18next","followers_url":"https://api.github.com/users/i18next/followers","following_url":"https://api.github.com/users/i18next/following{/other_user}","gists_url":"https://api.github.com/users/i18next/gists{/gist_id}","starred_url":"https://api.github.com/users/i18next/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i18next/subscriptions","organizations_url":"https://api.github.com/users/i18next/orgs","repos_url":"https://api.github.com/users/i18next/repos","events_url":"https://api.github.com/users/i18next/events{/privacy}","received_events_url":"https://api.github.com/users/i18next/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/i18next/react-i18next","description":"","fork":false,"url":"https://api.github.com/repos/i18next/react-i18next","forks_url":"https://api.github.com/repos/i18next/react-i18next/forks","keys_url":"https://api.github.com/repos/i18next/react-i18next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/i18next/react-i18next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/i18next/react-i18next/teams","hooks_url":"https://api.github.com/repos/i18next/react-i18next/hooks","issue_events_url":"https://api.github.com/repos/i18next/react-i18next/issues/events{/number}","events_url":"https://api.github.com/repos/i18next/react-i18next/events","assignees_url":"https://api.github.com/repos/i18next/react-i18next/assignees{/user}","branches_url":"https://api.github.com/repos/i18next/react-i18next/branches{/branch}","tags_url":"https://api.github.com/repos/i18next/react-i18next/tags","blobs_url":"https://api.github.com/repos/i18next/react-i18next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/i18next/react-i18next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/i18next/react-i18next/git/refs{/sha}","trees_url":"https://api.github.com/repos/i18next/react-i18next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/i18next/react-i18next/statuses/{sha}","languages_url":"https://api.github.com/repos/i18next/react-i18next/languages","stargazers_url":"https://api.github.com/repos/i18next/react-i18next/stargazers","contributors_url":"https://api.github.com/repos/i18next/react-i18next/contributors","subscribers_url":"https://api.github.com/repos/i18next/react-i18next/subscribers","subscription_url":"https://api.github.com/repos/i18next/react-i18next/subscription","commits_url":"https://api.github.com/repos/i18next/react-i18next/commits{/sha}","git_commits_url":"https://api.github.com/repos/i18next/react-i18next/git/commits{/sha}","comments_url":"https://api.github.com/repos/i18next/react-i18next/comments{/number}","issue_comment_url":"https://api.github.com/repos/i18next/react-i18next/issues/comments{/number}","contents_url":"https://api.github.com/repos/i18next/react-i18next/contents/{+path}","compare_url":"https://api.github.com/repos/i18next/react-i18next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/i18next/react-i18next/merges","archive_url":"https://api.github.com/repos/i18next/react-i18next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/i18next/react-i18next/downloads","issues_url":"https://api.github.com/repos/i18next/react-i18next/issues{/number}","pulls_url":"https://api.github.com/repos/i18next/react-i18next/pulls{/number}","milestones_url":"https://api.github.com/repos/i18next/react-i18next/milestones{/number}","notifications_url":"https://api.github.com/repos/i18next/react-i18next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/i18next/react-i18next/labels{/name}","releases_url":"https://api.github.com/repos/i18next/react-i18next/releases{/id}","deployments_url":"https://api.github.com/repos/i18next/react-i18next/deployments","created_at":"2015-12-12T12:52:11Z","updated_at":"2016-04-28T18:58:04Z","pushed_at":"2016-04-29T13:19:34Z","git_url":"git://github.com/i18next/react-i18next.git","ssh_url":"git@github.com:i18next/react-i18next.git","clone_url":"https://github.com/i18next/react-i18next.git","svn_url":"https://github.com/i18next/react-i18next","homepage":null,"size":346,"stargazers_count":50,"watchers_count":50,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":8,"forks":14,"open_issues":8,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/i18next/react-i18next/pulls/82"},"html":{"href":"https://github.com/i18next/react-i18next/pull/82"},"issue":{"href":"https://api.github.com/repos/i18next/react-i18next/issues/82"},"comments":{"href":"https://api.github.com/repos/i18next/react-i18next/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/i18next/react-i18next/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/i18next/react-i18next/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/i18next/react-i18next/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/i18next/react-i18next/statuses/f1342b4bb5ea809adc224b4c86e730a0a300f1fd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jamuhl","id":977772,"avatar_url":"https://avatars.githubusercontent.com/u/977772?v=3","gravatar_id":"","url":"https://api.github.com/users/jamuhl","html_url":"https://github.com/jamuhl","followers_url":"https://api.github.com/users/jamuhl/followers","following_url":"https://api.github.com/users/jamuhl/following{/other_user}","gists_url":"https://api.github.com/users/jamuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/jamuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamuhl/subscriptions","organizations_url":"https://api.github.com/users/jamuhl/orgs","repos_url":"https://api.github.com/users/jamuhl/repos","events_url":"https://api.github.com/users/jamuhl/events{/privacy}","received_events_url":"https://api.github.com/users/jamuhl/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":2,"additions":24,"deletions":5,"changed_files":2}}