{"action":"created","issue":{"url":"https://api.github.com/repos/loggur/react-redux-provide/issues/35","repository_url":"https://api.github.com/repos/loggur/react-redux-provide","labels_url":"https://api.github.com/repos/loggur/react-redux-provide/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/loggur/react-redux-provide/issues/35/comments","events_url":"https://api.github.com/repos/loggur/react-redux-provide/issues/35/events","html_url":"https://github.com/loggur/react-redux-provide/issues/35","id":162124642,"number":35,"title":"Nothing seems to be provided to the component","user":{"login":"FredyC","id":1096340,"avatar_url":"https://avatars.githubusercontent.com/u/1096340?v=3","gravatar_id":"","url":"https://api.github.com/users/FredyC","html_url":"https://github.com/FredyC","followers_url":"https://api.github.com/users/FredyC/followers","following_url":"https://api.github.com/users/FredyC/following{/other_user}","gists_url":"https://api.github.com/users/FredyC/gists{/gist_id}","starred_url":"https://api.github.com/users/FredyC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredyC/subscriptions","organizations_url":"https://api.github.com/users/FredyC/orgs","repos_url":"https://api.github.com/users/FredyC/repos","events_url":"https://api.github.com/users/FredyC/events{/privacy}","received_events_url":"https://api.github.com/users/FredyC/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-24T11:03:59Z","updated_at":"2016-06-24T12:07:00Z","closed_at":"2016-06-24T12:07:00Z","body":"Well so after I've created the provider, made some unit tests for it, now with attempt to actually make it work with component seems it doesn't work for some reason. You can see the provider code in the [gist](https://gist.github.com/FredyC/8f815f04b15b45e394889ad46e90a7e3). Here is my component.\r\n\r\n```js\r\nconst ChooseCity = ReactStamp.compose({\r\n\tdisplayName: 'ChooseCity',\r\n\tpropTypes: {\r\n\t\tcityName: ReactStamp.PT.string.isRequired,\r\n\t\tlocateUser: ReactStamp.PT.func.isRequired,\r\n\t},\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<div className={styles.component}>\r\n\t\t\t\t<CityInput\r\n\t\t\t\t\tvalue={this.props.cityName}\r\n\t\t\t\t\tonChange={this.props.locateUser}\r\n\t\t\t\t/>\r\n\t\t\t</div>\r\n\t\t);\r\n\t},\r\n});\r\n\r\nexport default provide(ChooseCity);\r\n```\r\n\r\nThen there is a top level render where I am passing providers like this.\r\n![image](https://cloud.githubusercontent.com/assets/1096340/16336157/9a214748-3a0b-11e6-88a1-861a21ce6ee4.png)\r\n\r\nWhen I look at `ChooseCity` component there, it has none of those props...\r\n![image](https://cloud.githubusercontent.com/assets/1096340/16336216/1268258c-3a0c-11e6-9f8c-7a7f04f406a6.png)\r\n\r\nDo you have any idea what might be wrong here?"},"comment":{"url":"https://api.github.com/repos/loggur/react-redux-provide/issues/comments/228329149","html_url":"https://github.com/loggur/react-redux-provide/issues/35#issuecomment-228329149","issue_url":"https://api.github.com/repos/loggur/react-redux-provide/issues/35","id":228329149,"user":{"login":"FredyC","id":1096340,"avatar_url":"https://avatars.githubusercontent.com/u/1096340?v=3","gravatar_id":"","url":"https://api.github.com/users/FredyC","html_url":"https://github.com/FredyC","followers_url":"https://api.github.com/users/FredyC/followers","following_url":"https://api.github.com/users/FredyC/following{/other_user}","gists_url":"https://api.github.com/users/FredyC/gists{/gist_id}","starred_url":"https://api.github.com/users/FredyC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredyC/subscriptions","organizations_url":"https://api.github.com/users/FredyC/orgs","repos_url":"https://api.github.com/users/FredyC/repos","events_url":"https://api.github.com/users/FredyC/events{/privacy}","received_events_url":"https://api.github.com/users/FredyC/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T12:07:00Z","updated_at":"2016-06-24T12:07:00Z","body":"Ok so I wrapped that top level component into `provide` as well and that seems to solve issue. This is seriously missing from documentation and it's not even in examples, so it's really strange."}}
{"actor":{"display_login":"FredyC"}}