{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/686","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/686/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/686/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/686/events","html_url":"https://github.com/callemall/material-ui/issues/686","id":80527202,"number":686,"title":"this.context.muiTheme is undefined","user":{"login":"super-cache-money","id":1463145,"avatar_url":"https://avatars.githubusercontent.com/u/1463145?v=3","gravatar_id":"","url":"https://api.github.com/users/super-cache-money","html_url":"https://github.com/super-cache-money","followers_url":"https://api.github.com/users/super-cache-money/followers","following_url":"https://api.github.com/users/super-cache-money/following{/other_user}","gists_url":"https://api.github.com/users/super-cache-money/gists{/gist_id}","starred_url":"https://api.github.com/users/super-cache-money/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/super-cache-money/subscriptions","organizations_url":"https://api.github.com/users/super-cache-money/orgs","repos_url":"https://api.github.com/users/super-cache-money/repos","events_url":"https://api.github.com/users/super-cache-money/events{/privacy}","received_events_url":"https://api.github.com/users/super-cache-money/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-05-25T12:49:43Z","updated_at":"2015-09-03T12:48:38Z","closed_at":"2015-05-26T10:22:11Z","body":"I've tried to use 0.8 with both React 13.3 and React 13.1.\r\n\r\nI've tried a few components, including *RaisedButton*, and *Checkbox*.\r\n\r\nAs the title states, rendering breaks with the following error: \r\n\r\n    TypeError: Cannot read property 'component' of undefined\r\n\r\n`muiTheme` is undefined.\r\n\r\nI've triple checked my *node_modules* directory; there's only one version of *react* in there. \r\nThere are no warnings, other than this old one:\r\n\r\n**Warning: bind(): React component methods may only be bound to the component instance. See exports**\r\n\r\nInserting this:\r\n\r\n    contextTypes: {\r\n        muiTheme: React.PropTypes.object.isRequired\r\n    }\r\n\r\ngives the following warning:\r\n\r\n**Failed Context Types: Required context `muiTheme` was not specified in `MyOtherwiseWorkingComponent`. Check the render method of `exports`.**\r\n\r\nI'm so eager to try this out! What could be the issue here?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/137428312","html_url":"https://github.com/callemall/material-ui/issues/686#issuecomment-137428312","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/686","id":137428312,"user":{"login":"nickspacek","id":99182,"avatar_url":"https://avatars.githubusercontent.com/u/99182?v=3","gravatar_id":"","url":"https://api.github.com/users/nickspacek","html_url":"https://github.com/nickspacek","followers_url":"https://api.github.com/users/nickspacek/followers","following_url":"https://api.github.com/users/nickspacek/following{/other_user}","gists_url":"https://api.github.com/users/nickspacek/gists{/gist_id}","starred_url":"https://api.github.com/users/nickspacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickspacek/subscriptions","organizations_url":"https://api.github.com/users/nickspacek/orgs","repos_url":"https://api.github.com/users/nickspacek/repos","events_url":"https://api.github.com/users/nickspacek/events{/privacy}","received_events_url":"https://api.github.com/users/nickspacek/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T12:48:38Z","updated_at":"2015-09-03T12:48:38Z","body":"I upgraded to react@0.14.0-beta3 and the problem went away for me. Don't need react-tap-event-plugin (gives an error) and had to edit the node_modules/material-ui/package.json to remove the peerDependency. Messy workaround for that, but works.\r\n\r\n@sathify YMMV with those fluxible peerDependencies."}}