{"action":"created","issue":{"url":"https://api.github.com/repos/infernojs/inferno/issues/658","repository_url":"https://api.github.com/repos/infernojs/inferno","labels_url":"https://api.github.com/repos/infernojs/inferno/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/infernojs/inferno/issues/658/comments","events_url":"https://api.github.com/repos/infernojs/inferno/issues/658/events","html_url":"https://github.com/infernojs/inferno/issues/658","id":198301076,"number":658,"title":"connect() in inferno-redux with inferno-component broken in 1.0.3 (Works in 1.0.2)","user":{"login":"Vpr99","id":1228867,"avatar_url":"https://avatars.githubusercontent.com/u/1228867?v=3","gravatar_id":"","url":"https://api.github.com/users/Vpr99","html_url":"https://github.com/Vpr99","followers_url":"https://api.github.com/users/Vpr99/followers","following_url":"https://api.github.com/users/Vpr99/following{/other_user}","gists_url":"https://api.github.com/users/Vpr99/gists{/gist_id}","starred_url":"https://api.github.com/users/Vpr99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vpr99/subscriptions","organizations_url":"https://api.github.com/users/Vpr99/orgs","repos_url":"https://api.github.com/users/Vpr99/repos","events_url":"https://api.github.com/users/Vpr99/events{/privacy}","received_events_url":"https://api.github.com/users/Vpr99/received_events","type":"User","site_admin":false},"labels":[{"id":347333790,"url":"https://api.github.com/repos/infernojs/inferno/labels/bug%20to%20verify","name":"bug to verify","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-01-02T06:54:16Z","updated_at":"2017-01-02T18:10:07Z","closed_at":null,"body":"Happy new year guys! Just wanted to bring up something I came across in doing a version bump of inferno to the latest in my project. It appears as though `connect()` in `inferno-redux@1.0.3` isn't working, while it's fine in `1.0.2`. Is there anything that could have impacted this?\r\n\r\n**Observed Behavior:**\r\n\r\nAfter upgrading to 1.0.3, no props are being provided to to the `inferno-component`. Console.logging props only returns an empty object instead of bound action creators and redux state items.\r\n\r\n**Expected Behavior:**\r\n\r\n`connect()` correctly binds my action creators and state to a component's `this.props`.\r\n\r\nHere's an abbreviated version of the component that's giving me trouble. If it would be helpful, I can try to rig up a jsfiddle in the morning, but it's getting pretty late here.\r\n\r\n```javascript\r\nimport Inferno from 'inferno';\r\nimport Component from 'inferno-component';\r\nimport { connect } from 'inferno-redux';\r\nimport { bindActionCreators } from 'redux';\r\nimport { actions, fetchingStatus } from 'ducks/billing';\r\n\r\nclass Test extends Component {\r\n  componentDidMount() {\r\n    // Uncaught TypeError: this.props.requestInfo is not a function in 1.0.3\r\n    this.props.requestInfo();\r\n  }\r\n\r\n  render() {\r\n    // returns {} in 1.0.3\r\n    console.log(this.props);\r\n    return (\r\n      <article className=\"border-box center mt6 mw7 sans-serif t-space\">\r\n        <header className=\"pb3\">\r\n          <h2 className=\"f1 mv0\">Component</h2>\r\n        </header>\r\n      </article>\r\n    );\r\n  }\r\n}\r\n\r\nconst mapStateToProps = (state) => ({\r\n  fetchingStatus: fetchingStatus(state)\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n  return bindActionCreators({ ...actions }, dispatch);\r\n}\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Test);\r\n```\r\n\r\nHere are the versions of all relevant packages that I'm using:\r\n\r\n```\r\n\"babel-plugin-inferno\": \"^1.4.0\",\r\n\"inferno\": \"1.0.3\",\r\n\"inferno-component\": \"1.0.3\",\r\n\"inferno-create-class\": \"^0.7.27\",\r\n\"inferno-motion\": \"^0.4.4-beta3\",\r\n\"inferno-redux\": \"1.0.3\",\r\n\"inferno-router\": \"1.0.3\",\r\n\"redux\": \"^3.6.0\",\r\n```\r\n\r\nThanks so much for all your hard work!!!"},"comment":{"url":"https://api.github.com/repos/infernojs/inferno/issues/comments/270004032","html_url":"https://github.com/infernojs/inferno/issues/658#issuecomment-270004032","issue_url":"https://api.github.com/repos/infernojs/inferno/issues/658","id":270004032,"user":{"login":"Vpr99","id":1228867,"avatar_url":"https://avatars.githubusercontent.com/u/1228867?v=3","gravatar_id":"","url":"https://api.github.com/users/Vpr99","html_url":"https://github.com/Vpr99","followers_url":"https://api.github.com/users/Vpr99/followers","following_url":"https://api.github.com/users/Vpr99/following{/other_user}","gists_url":"https://api.github.com/users/Vpr99/gists{/gist_id}","starred_url":"https://api.github.com/users/Vpr99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vpr99/subscriptions","organizations_url":"https://api.github.com/users/Vpr99/orgs","repos_url":"https://api.github.com/users/Vpr99/repos","events_url":"https://api.github.com/users/Vpr99/events{/privacy}","received_events_url":"https://api.github.com/users/Vpr99/received_events","type":"User","site_admin":false},"created_at":"2017-01-02T18:10:07Z","updated_at":"2017-01-02T18:10:07Z","body":"@Havunen that shouldn't impact this component, though right, since It's not being called here? (Pardon my naïveté, since I don't really understand how all the inferno packages work together!)\r\n\r\nThanks for all your help guys :)"}}
{"actor":{"display_login":"Vpr99"}}