{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/4030","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/4030/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/4030/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/4030/events","html_url":"https://github.com/callemall/material-ui/issues/4030","id":149181707,"number":4030,"title":"[Docs] Add new muiTheme setup requirements to docs + readme","user":{"login":"be-next-hotdog","id":10281179,"avatar_url":"https://avatars.githubusercontent.com/u/10281179?v=3","gravatar_id":"","url":"https://api.github.com/users/be-next-hotdog","html_url":"https://github.com/be-next-hotdog","followers_url":"https://api.github.com/users/be-next-hotdog/followers","following_url":"https://api.github.com/users/be-next-hotdog/following{/other_user}","gists_url":"https://api.github.com/users/be-next-hotdog/gists{/gist_id}","starred_url":"https://api.github.com/users/be-next-hotdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/be-next-hotdog/subscriptions","organizations_url":"https://api.github.com/users/be-next-hotdog/orgs","repos_url":"https://api.github.com/users/be-next-hotdog/repos","events_url":"https://api.github.com/users/be-next-hotdog/events{/privacy}","received_events_url":"https://api.github.com/users/be-next-hotdog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/callemall/material-ui/labels/Core","name":"Core","color":"006b75"},{"url":"https://api.github.com/repos/callemall/material-ui/labels/Docs","name":"Docs","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/callemall/material-ui/milestones/10","html_url":"https://github.com/callemall/material-ui/milestones/0.15.0%20Release","labels_url":"https://api.github.com/repos/callemall/material-ui/milestones/10/labels","id":1472363,"number":10,"title":"0.15.0 Release","description":"","creator":{"login":"alitaheri","id":8528759,"avatar_url":"https://avatars.githubusercontent.com/u/8528759?v=3","gravatar_id":"","url":"https://api.github.com/users/alitaheri","html_url":"https://github.com/alitaheri","followers_url":"https://api.github.com/users/alitaheri/followers","following_url":"https://api.github.com/users/alitaheri/following{/other_user}","gists_url":"https://api.github.com/users/alitaheri/gists{/gist_id}","starred_url":"https://api.github.com/users/alitaheri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alitaheri/subscriptions","organizations_url":"https://api.github.com/users/alitaheri/orgs","repos_url":"https://api.github.com/users/alitaheri/repos","events_url":"https://api.github.com/users/alitaheri/events{/privacy}","received_events_url":"https://api.github.com/users/alitaheri/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":55,"state":"closed","created_at":"2015-12-23T09:11:44Z","updated_at":"2016-05-06T14:02:09Z","due_on":null,"closed_at":"2016-05-06T14:02:09Z"},"comments":17,"created_at":"2016-04-18T15:17:40Z","updated_at":"2016-07-24T11:02:32Z","closed_at":"2016-04-19T20:33:29Z","body":"Problem Description\r\n-------------------\r\nYopp guys,\r\n\r\nAfter updated to latest version (MUI = 0.15.0-beta.1, react, react-dom = 15.0.1), I caught several errors from my inspector : \r\n\r\n1. Warning: Failed Context Types: Required context `muiTheme` was not specified in `Paper`. \r\n2. Uncaught TypeError: Cannot read property 'prepareStyles' of undefined\r\n3. Uncaught TypeError: Cannot read property '__reactInternalInstance$f2gyonourkjfu80wspjh5mi' of null \r\n\r\nAny tips help me escape from these bugs weirdo ? \r\n\r\nBe grateful for your reply.\r\n \r\n\r\n\r\n\r\n<!-- \r\n\r\nSorry to hear you're having trouble! If you have a question, please ask in \r\n[StackOverflow or gitter](http://tr.im/77pVj)\r\n\r\nIf you are having an issue with click events, please re-read the \r\n[README](http://tr.im/410Fg) (you did read the README, right?).\r\n\r\nQuestions, or issues that don't provide sufficient information, may be closed without comment. \r\n(We're sure you'd rather we work on improving Material-UI than chasing ghost issues!)\r\n\r\nIf you think you have found a _new_ issue that hasn't already been reported, please complete the template below.\r\n\r\n-->\r\n<!-- Please include steps to reproduce the problem, code sample, screenshots as appropriate. -->\r\n\r\nVersions\r\n--------\r\n<!-- Versions affected. (Please test with Material-UI HEAD.) -->\r\n\r\n- Material-UI: 0.15.0-beta.1\r\n- React: 15.0.1\r\n- Browser: Chrome ver. 49\r\n\r\n<!--\r\n\r\nFor feature requests, please delete the template above, \r\nand include a link to the relevant section of Material Design spec, \r\nor a screenshot showing your proposed feature, \r\nand enough information to understand your suggestion.\r\n\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/234771074","html_url":"https://github.com/callemall/material-ui/issues/4030#issuecomment-234771074","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/4030","id":234771074,"user":{"login":"ChoppyThing","id":12496774,"avatar_url":"https://avatars.githubusercontent.com/u/12496774?v=3","gravatar_id":"","url":"https://api.github.com/users/ChoppyThing","html_url":"https://github.com/ChoppyThing","followers_url":"https://api.github.com/users/ChoppyThing/followers","following_url":"https://api.github.com/users/ChoppyThing/following{/other_user}","gists_url":"https://api.github.com/users/ChoppyThing/gists{/gist_id}","starred_url":"https://api.github.com/users/ChoppyThing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChoppyThing/subscriptions","organizations_url":"https://api.github.com/users/ChoppyThing/orgs","repos_url":"https://api.github.com/users/ChoppyThing/repos","events_url":"https://api.github.com/users/ChoppyThing/events{/privacy}","received_events_url":"https://api.github.com/users/ChoppyThing/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T11:02:32Z","updated_at":"2016-07-24T11:02:32Z","body":"Hi, i'm getting similar context issues with muiTheme. Working with react 15.2.1 and material 0.15.2 i've tried all solutions from this post and [this one](https://github.com/callemall/material-ui/issues/686) and last issues seem to be `this.context.muiTheme is undefined`\r\n\r\nI followed examples from [here](http://www.material-ui.com/#/get-started/usage) \r\n`  \r\nimport MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';\r\nimport getMuiTheme from 'material-ui/styles/getMuiTheme';\r\nimport baseTheme from 'material-ui/styles/baseThemes/lightBaseTheme';\r\n\r\nconst AppbarStyles = () => getMuiTheme({\r\n  palette: {\r\n    primary1Color: '#f4511e'\r\n  }\r\n});\r\n// App.jsx\r\nrender: function() {\r\n    return (\r\n      <div className=\"app\">\r\n        <div className=\"main\">\r\n          <Link to={`/blog`}>Is that ?</Link>\r\n        </div>\r\n        <MuiThemeProvider muiTheme={AppbarStyles()}>\r\n          {this.props.children}\r\n        </MuiThemeProvider>\r\n      </div>\r\n    );\r\n  }`\r\n\r\n`\r\nimport RaisedButton from 'material-ui/RaisedButton';\r\n\r\n  render: function() {\r\n    return (\r\n      <div className=\"blog\">\r\n        Blog\r\n\r\n        <Note notes={this.state.notes} />\r\n\r\n        <RaisedButton label=\"Default\" />\r\n\r\n        <Page \r\n            page={this.props.params.page}\r\n            total={this.state.total}\r\n            number={this.state.number}\r\n        />\r\n        {this.props.params.page}\r\n\r\n        <Link to={`/`}>Is that?</Link>\r\n      </div>\r\n    );\r\n  }\r\n`"}}
{"actor":{"display_login":"ChoppyThing"}}