{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-redux/issues/395","repository_url":"https://api.github.com/repos/reactjs/react-redux","labels_url":"https://api.github.com/repos/reactjs/react-redux/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-redux/issues/395/comments","events_url":"https://api.github.com/repos/reactjs/react-redux/issues/395/events","html_url":"https://github.com/reactjs/react-redux/pull/395","id":157334770,"number":395,"title":"Add `name` option to connect()","user":{"login":"epeli","id":225712,"avatar_url":"https://avatars.githubusercontent.com/u/225712?v=3","gravatar_id":"","url":"https://api.github.com/users/epeli","html_url":"https://github.com/epeli","followers_url":"https://api.github.com/users/epeli/followers","following_url":"https://api.github.com/users/epeli/following{/other_user}","gists_url":"https://api.github.com/users/epeli/gists{/gist_id}","starred_url":"https://api.github.com/users/epeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epeli/subscriptions","organizations_url":"https://api.github.com/users/epeli/orgs","repos_url":"https://api.github.com/users/epeli/repos","events_url":"https://api.github.com/users/epeli/events{/privacy}","received_events_url":"https://api.github.com/users/epeli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-28T11:40:32Z","updated_at":"2016-05-29T14:20:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/reactjs/react-redux/pulls/395","html_url":"https://github.com/reactjs/react-redux/pull/395","diff_url":"https://github.com/reactjs/react-redux/pull/395.diff","patch_url":"https://github.com/reactjs/react-redux/pull/395.patch"},"body":"I'm using bunch of custom HOCs with `connect()` like\r\n\r\n```js\r\nfunction addPostTitle(postId) {\r\n  return connect(\r\n    state => ({title: state.posts[postId]}),\r\n    null, null, {name: \"addPostTitle\"})\r\n  );\r\n}\r\n```\r\n\r\nThis causes React devtools to be polluted with useless `Connect(Connect(Connect(Something)))` style components. This would allow to use more meaningful names."},"comment":{"url":"https://api.github.com/repos/reactjs/react-redux/issues/comments/222363128","html_url":"https://github.com/reactjs/react-redux/pull/395#issuecomment-222363128","issue_url":"https://api.github.com/repos/reactjs/react-redux/issues/395","id":222363128,"user":{"login":"epeli","id":225712,"avatar_url":"https://avatars.githubusercontent.com/u/225712?v=3","gravatar_id":"","url":"https://api.github.com/users/epeli","html_url":"https://github.com/epeli","followers_url":"https://api.github.com/users/epeli/followers","following_url":"https://api.github.com/users/epeli/following{/other_user}","gists_url":"https://api.github.com/users/epeli/gists{/gist_id}","starred_url":"https://api.github.com/users/epeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epeli/subscriptions","organizations_url":"https://api.github.com/users/epeli/orgs","repos_url":"https://api.github.com/users/epeli/repos","events_url":"https://api.github.com/users/epeli/events{/privacy}","received_events_url":"https://api.github.com/users/epeli/received_events","type":"User","site_admin":false},"created_at":"2016-05-29T14:20:40Z","updated_at":"2016-05-29T14:20:40Z","body":"> OK. Let’s rename it to displayName?\r\n\r\nYeah. It's more consistent with other APIs. "}}
{"actor":{"display_login":"epeli"}}