{"action":"created","issue":{"url":"https://api.github.com/repos/trueadm/inferno/issues/71","labels_url":"https://api.github.com/repos/trueadm/inferno/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/trueadm/inferno/issues/71/comments","events_url":"https://api.github.com/repos/trueadm/inferno/issues/71/events","html_url":"https://github.com/trueadm/inferno/issues/71","id":126568257,"number":71,"title":"Can't get my bundle working.","user":{"login":"JohnPittman","id":6298219,"avatar_url":"https://avatars.githubusercontent.com/u/6298219?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnPittman","html_url":"https://github.com/JohnPittman","followers_url":"https://api.github.com/users/JohnPittman/followers","following_url":"https://api.github.com/users/JohnPittman/following{/other_user}","gists_url":"https://api.github.com/users/JohnPittman/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnPittman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnPittman/subscriptions","organizations_url":"https://api.github.com/users/JohnPittman/orgs","repos_url":"https://api.github.com/users/JohnPittman/repos","events_url":"https://api.github.com/users/JohnPittman/events{/privacy}","received_events_url":"https://api.github.com/users/JohnPittman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-14T03:10:44Z","updated_at":"2016-01-14T17:12:59Z","closed_at":null,"body":"Trying to compile this JSX crap with new babel 6 after taking a month off and shit is broken. Please help so I can pitch using inferno over react to my new team.\r\n\r\nusing this in gulpfile:\r\n\r\nbrowserify(\"src/index.jsx\")\r\n        .transform(\"babelify\", {\r\n            presets: [\r\n                'es2015',\r\n                'stage-0'\r\n            ],\r\n            plugins: [\r\n                \"babel-plugin-syntax-jsx\",\r\n                \"babel-plugin-inferno\"\r\n            ]\r\n        })\r\n        .bundle()\r\n        .pipe(fs.createWriteStream(\"dist/bundle.js\"));\r\n\r\nOpening the index.html and loading the bundle.js I get this:\r\n\r\nUncaught TypeError: Super expression must either be null or a function, not undefined\r\n\r\nAnyone else go through this? \r\n\r\nEDIT:\r\n\r\nI'm trying to get the example working so here is my index.jsx file:\r\n\r\nimport Inferno from 'inferno';\r\nimport InfernoDOM from 'inferno-dom';\r\n\r\nclass Component extends Inferno.Component {\r\n  constructor(props) {\r\n    super(props);\r\n    this.state = {\r\n      counter: 0\r\n    }\r\n  }\r\n  render() {\r\n    return (\r\n     // JSX markup\r\n    )\r\n  }\r\n}\r\n\r\nInfernoDOM.render(<Component />, document.body);"},"comment":{"url":"https://api.github.com/repos/trueadm/inferno/issues/comments/171708900","html_url":"https://github.com/trueadm/inferno/issues/71#issuecomment-171708900","issue_url":"https://api.github.com/repos/trueadm/inferno/issues/71","id":171708900,"user":{"login":"trueadm","id":1519870,"avatar_url":"https://avatars.githubusercontent.com/u/1519870?v=3","gravatar_id":"","url":"https://api.github.com/users/trueadm","html_url":"https://github.com/trueadm","followers_url":"https://api.github.com/users/trueadm/followers","following_url":"https://api.github.com/users/trueadm/following{/other_user}","gists_url":"https://api.github.com/users/trueadm/gists{/gist_id}","starred_url":"https://api.github.com/users/trueadm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueadm/subscriptions","organizations_url":"https://api.github.com/users/trueadm/orgs","repos_url":"https://api.github.com/users/trueadm/repos","events_url":"https://api.github.com/users/trueadm/events{/privacy}","received_events_url":"https://api.github.com/users/trueadm/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T17:12:59Z","updated_at":"2016-01-14T17:12:59Z","body":"@tejacques that would be a good package to have, something like `react-to-inferno`. Unless you can think of another way without having to bring `inferno-component` back into core again (which bloats the core a bit). I hope Facebook change this too."}}