{"action":"created","issue":{"url":"https://api.github.com/repos/acdlite/recompose/issues/72","labels_url":"https://api.github.com/repos/acdlite/recompose/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/acdlite/recompose/issues/72/comments","events_url":"https://api.github.com/repos/acdlite/recompose/issues/72/events","html_url":"https://github.com/acdlite/recompose/issues/72","id":118220615,"number":72,"title":"createElement does not pass context to functional components","user":{"login":"joshacheson","id":1906888,"avatar_url":"https://avatars.githubusercontent.com/u/1906888?v=3","gravatar_id":"","url":"https://api.github.com/users/joshacheson","html_url":"https://github.com/joshacheson","followers_url":"https://api.github.com/users/joshacheson/followers","following_url":"https://api.github.com/users/joshacheson/following{/other_user}","gists_url":"https://api.github.com/users/joshacheson/gists{/gist_id}","starred_url":"https://api.github.com/users/joshacheson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshacheson/subscriptions","organizations_url":"https://api.github.com/users/joshacheson/orgs","repos_url":"https://api.github.com/users/joshacheson/repos","events_url":"https://api.github.com/users/joshacheson/events{/privacy}","received_events_url":"https://api.github.com/users/joshacheson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-21T21:05:39Z","updated_at":"2015-11-21T21:25:36Z","closed_at":null,"body":"Per react docs, it is expected that a context will be provided to a stateless functional component: https://facebook.github.io/react/docs/context.html#referencing-context-in-stateless-functional-components\r\n\r\nI'm not sure if there's another \"point of failure\" aside from createElement for this behaviour not being supported by recompose right now, but it seems liek the sort of thing that should be supported.\r\n\r\nPersonally, I love the getContext helper and am using it in production, but I think it's important that helpers don't strictly enforce the \"context as props\" model and support the idiomatic React behaviour as well.\r\n\r\nHappy to do the work on this if you think it gels with the project vision/opinions - let me know what you think"},"comment":{"url":"https://api.github.com/repos/acdlite/recompose/issues/comments/158683284","html_url":"https://github.com/acdlite/recompose/issues/72#issuecomment-158683284","issue_url":"https://api.github.com/repos/acdlite/recompose/issues/72","id":158683284,"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},"created_at":"2015-11-21T21:25:36Z","updated_at":"2015-11-21T21:25:36Z","body":"Can you give a failure example - for what situation you have none working context?"}}