{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-redux/issues/914","repository_url":"https://api.github.com/repos/reactjs/react-redux","labels_url":"https://api.github.com/repos/reactjs/react-redux/issues/914/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-redux/issues/914/comments","events_url":"https://api.github.com/repos/reactjs/react-redux/issues/914/events","html_url":"https://github.com/reactjs/react-redux/issues/914","id":309937030,"number":914,"title":"connect() does not work with React.forwardRef","user":{"login":"malectro","id":249565,"avatar_url":"https://avatars3.githubusercontent.com/u/249565?v=4","gravatar_id":"","url":"https://api.github.com/users/malectro","html_url":"https://github.com/malectro","followers_url":"https://api.github.com/users/malectro/followers","following_url":"https://api.github.com/users/malectro/following{/other_user}","gists_url":"https://api.github.com/users/malectro/gists{/gist_id}","starred_url":"https://api.github.com/users/malectro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malectro/subscriptions","organizations_url":"https://api.github.com/users/malectro/orgs","repos_url":"https://api.github.com/users/malectro/repos","events_url":"https://api.github.com/users/malectro/events{/privacy}","received_events_url":"https://api.github.com/users/malectro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-03-29T23:44:48Z","updated_at":"2018-04-23T16:03:38Z","closed_at":null,"author_association":"NONE","body":"Specifically, if I compose `connect` with another HOC that uses `forwardRef`, the result of `forwardRef` (an object) is passed as the `WrappedComponent`, which throws an error claiming it should only be a function.\r\n\r\nExample\r\n```js\r\nconst MyComponent = React.forwardRef(() => null);\r\nconnect()(MyComponent);\r\n```"},"comment":{"url":"https://api.github.com/repos/reactjs/react-redux/issues/comments/383629529","html_url":"https://github.com/reactjs/react-redux/issues/914#issuecomment-383629529","issue_url":"https://api.github.com/repos/reactjs/react-redux/issues/914","id":383629529,"user":{"login":"timdorr","id":17882,"avatar_url":"https://avatars2.githubusercontent.com/u/17882?v=4","gravatar_id":"","url":"https://api.github.com/users/timdorr","html_url":"https://github.com/timdorr","followers_url":"https://api.github.com/users/timdorr/followers","following_url":"https://api.github.com/users/timdorr/following{/other_user}","gists_url":"https://api.github.com/users/timdorr/gists{/gist_id}","starred_url":"https://api.github.com/users/timdorr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdorr/subscriptions","organizations_url":"https://api.github.com/users/timdorr/orgs","repos_url":"https://api.github.com/users/timdorr/repos","events_url":"https://api.github.com/users/timdorr/events{/privacy}","received_events_url":"https://api.github.com/users/timdorr/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T16:03:38Z","updated_at":"2018-04-23T16:03:38Z","author_association":"MEMBER","body":"Started a poll to check into this stuff: https://twitter.com/timdorr/status/988448040750067715\r\n\r\nAlso, found a polyfill, but it looks pretty young: https://github.com/soupaJ/create-react-ref"}}
{"actor":{"display_login":"timdorr"}}