{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/2574","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/2574/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/2574/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/2574/events","html_url":"https://github.com/callemall/material-ui/issues/2574","id":122834675,"number":2574,"title":"Attempting to use a component class as a mixin?","user":{"login":"r0ber70","id":4921503,"avatar_url":"https://avatars.githubusercontent.com/u/4921503?v=3","gravatar_id":"","url":"https://api.github.com/users/r0ber70","html_url":"https://github.com/r0ber70","followers_url":"https://api.github.com/users/r0ber70/followers","following_url":"https://api.github.com/users/r0ber70/following{/other_user}","gists_url":"https://api.github.com/users/r0ber70/gists{/gist_id}","starred_url":"https://api.github.com/users/r0ber70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0ber70/subscriptions","organizations_url":"https://api.github.com/users/r0ber70/orgs","repos_url":"https://api.github.com/users/r0ber70/repos","events_url":"https://api.github.com/users/r0ber70/events{/privacy}","received_events_url":"https://api.github.com/users/r0ber70/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/callemall/material-ui/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/callemall/material-ui/milestones/8","html_url":"https://github.com/callemall/material-ui/milestones/0.14.0%20Release","labels_url":"https://api.github.com/repos/callemall/material-ui/milestones/8/labels","id":1452662,"number":8,"title":"0.14.0 Release","description":"These changes must make it into the 0.14.0 release before we can publish.","creator":{"login":"subjectix","id":8528759,"avatar_url":"https://avatars.githubusercontent.com/u/8528759?v=3","gravatar_id":"","url":"https://api.github.com/users/subjectix","html_url":"https://github.com/subjectix","followers_url":"https://api.github.com/users/subjectix/followers","following_url":"https://api.github.com/users/subjectix/following{/other_user}","gists_url":"https://api.github.com/users/subjectix/gists{/gist_id}","starred_url":"https://api.github.com/users/subjectix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subjectix/subscriptions","organizations_url":"https://api.github.com/users/subjectix/orgs","repos_url":"https://api.github.com/users/subjectix/repos","events_url":"https://api.github.com/users/subjectix/events{/privacy}","received_events_url":"https://api.github.com/users/subjectix/received_events","type":"User","site_admin":false},"open_issues":58,"closed_issues":45,"state":"open","created_at":"2015-12-09T20:08:57Z","updated_at":"2015-12-17T22:23:23Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-12-17T22:18:14Z","updated_at":"2015-12-17T22:23:38Z","closed_at":null,"body":"I'm using webpack and installed material-ui with npm. I have already replaced text inputs in my forms with the material-ui text-field and it works great.\r\n\r\nBut.\r\n\r\nThen I tried adding a button. Simple enough right? Suddenly, I get this error:\r\n\r\nInvariant Violation: ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object\r\nI have tested and this error gets thrown even if I just load in an otherwise empty Javascript file with this line:\r\n\r\nrequire('material-ui/lib/raised-button');\r\nIf I remove that line, everything works fine. It's weird because the text-field works, so I know my setup is correct. I suspect there is a Mixin being used inside the button code?\r\n\r\nHas anyone experienced this? Information on this is sparse, any help is appreciated."},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/165600161","html_url":"https://github.com/callemall/material-ui/issues/2574#issuecomment-165600161","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/2574","id":165600161,"user":{"login":"subjectix","id":8528759,"avatar_url":"https://avatars.githubusercontent.com/u/8528759?v=3","gravatar_id":"","url":"https://api.github.com/users/subjectix","html_url":"https://github.com/subjectix","followers_url":"https://api.github.com/users/subjectix/followers","following_url":"https://api.github.com/users/subjectix/following{/other_user}","gists_url":"https://api.github.com/users/subjectix/gists{/gist_id}","starred_url":"https://api.github.com/users/subjectix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subjectix/subscriptions","organizations_url":"https://api.github.com/users/subjectix/orgs","repos_url":"https://api.github.com/users/subjectix/repos","events_url":"https://api.github.com/users/subjectix/events{/privacy}","received_events_url":"https://api.github.com/users/subjectix/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T22:23:38Z","updated_at":"2015-12-17T22:23:38Z","body":"We'll try to look into this. thanks for reporting."}}