{"action":"created","issue":{"url":"https://api.github.com/repos/acdlite/recompose/issues/28","labels_url":"https://api.github.com/repos/acdlite/recompose/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/acdlite/recompose/issues/28/comments","events_url":"https://api.github.com/repos/acdlite/recompose/issues/28/events","html_url":"https://github.com/acdlite/recompose/pull/28","id":113080465,"number":28,"title":"Fail test for defaultProps","user":{"login":"istarkov","id":5077042,"avatar_url":"https://avatars.githubusercontent.com/u/5077042?v=3","gravatar_id":"","url":"https://api.github.com/users/istarkov","html_url":"https://github.com/istarkov","followers_url":"https://api.github.com/users/istarkov/followers","following_url":"https://api.github.com/users/istarkov/following{/other_user}","gists_url":"https://api.github.com/users/istarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/istarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istarkov/subscriptions","organizations_url":"https://api.github.com/users/istarkov/orgs","repos_url":"https://api.github.com/users/istarkov/repos","events_url":"https://api.github.com/users/istarkov/events{/privacy}","received_events_url":"https://api.github.com/users/istarkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T18:59:43Z","updated_at":"2015-10-23T23:14:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/acdlite/recompose/pulls/28","html_url":"https://github.com/acdlite/recompose/pull/28","diff_url":"https://github.com/acdlite/recompose/pull/28.diff","patch_url":"https://github.com/acdlite/recompose/pull/28.patch"},"body":"defaultProps doesn't work in combination with other recompose hoc (only if defined first in chain)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/acdlite/recompose/issues/comments/150713645","html_url":"https://github.com/acdlite/recompose/pull/28#issuecomment-150713645","issue_url":"https://api.github.com/repos/acdlite/recompose/issues/28","id":150713645,"user":{"login":"acdlite","id":3624098,"avatar_url":"https://avatars.githubusercontent.com/u/3624098?v=3","gravatar_id":"","url":"https://api.github.com/users/acdlite","html_url":"https://github.com/acdlite","followers_url":"https://api.github.com/users/acdlite/followers","following_url":"https://api.github.com/users/acdlite/following{/other_user}","gists_url":"https://api.github.com/users/acdlite/gists{/gist_id}","starred_url":"https://api.github.com/users/acdlite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdlite/subscriptions","organizations_url":"https://api.github.com/users/acdlite/orgs","repos_url":"https://api.github.com/users/acdlite/repos","events_url":"https://api.github.com/users/acdlite/events{/privacy}","received_events_url":"https://api.github.com/users/acdlite/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T23:14:58Z","updated_at":"2015-10-23T23:14:58Z","body":"Ah a better first for this would be to update `isReferentiallyTransparentFunctionComponent()` to check for existence of `defaultProps`.\r\n\r\n```js\r\nconst isReferentiallyTransparentFunctionComponent = Component => (\r\n  Component &&\r\n  typeof Component !== 'string' &&\r\n  !(Component.prototype && Component.prototype.render) &&\r\n  !Component.defaultProps &&\r\n  !Component.contextTypes\r\n);\r\n```\r\n\r\nWant to update the PR to fix that?"}}