{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/react-starter/issues/53","labels_url":"https://api.github.com/repos/webpack/react-starter/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/webpack/react-starter/issues/53/comments","events_url":"https://api.github.com/repos/webpack/react-starter/issues/53/events","html_url":"https://github.com/webpack/react-starter/pull/53","id":61071048,"number":53,"title":"Use babel-loader instead of jsx-loader","user":{"login":"FoxxMD","id":4663766,"avatar_url":"https://avatars.githubusercontent.com/u/4663766?v=3","gravatar_id":"","url":"https://api.github.com/users/FoxxMD","html_url":"https://github.com/FoxxMD","followers_url":"https://api.github.com/users/FoxxMD/followers","following_url":"https://api.github.com/users/FoxxMD/following{/other_user}","gists_url":"https://api.github.com/users/FoxxMD/gists{/gist_id}","starred_url":"https://api.github.com/users/FoxxMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoxxMD/subscriptions","organizations_url":"https://api.github.com/users/FoxxMD/orgs","repos_url":"https://api.github.com/users/FoxxMD/repos","events_url":"https://api.github.com/users/FoxxMD/events{/privacy}","received_events_url":"https://api.github.com/users/FoxxMD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-13T14:05:23Z","updated_at":"2015-03-13T14:26:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/webpack/react-starter/pulls/53","html_url":"https://github.com/webpack/react-starter/pull/53","diff_url":"https://github.com/webpack/react-starter/pull/53.diff","patch_url":"https://github.com/webpack/react-starter/pull/53.patch"},"body":"* Install babel-loader module\r\n* Use babel-loader to load files with .jsx instead of jsx-loader #48 "},"comment":{"url":"https://api.github.com/repos/webpack/react-starter/issues/comments/78994812","html_url":"https://github.com/webpack/react-starter/pull/53#issuecomment-78994812","issue_url":"https://api.github.com/repos/webpack/react-starter/issues/53","id":78994812,"user":{"login":"FoxxMD","id":4663766,"avatar_url":"https://avatars.githubusercontent.com/u/4663766?v=3","gravatar_id":"","url":"https://api.github.com/users/FoxxMD","html_url":"https://github.com/FoxxMD","followers_url":"https://api.github.com/users/FoxxMD/followers","following_url":"https://api.github.com/users/FoxxMD/following{/other_user}","gists_url":"https://api.github.com/users/FoxxMD/gists{/gist_id}","starred_url":"https://api.github.com/users/FoxxMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoxxMD/subscriptions","organizations_url":"https://api.github.com/users/FoxxMD/orgs","repos_url":"https://api.github.com/users/FoxxMD/repos","events_url":"https://api.github.com/users/FoxxMD/events{/privacy}","received_events_url":"https://api.github.com/users/FoxxMD/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T14:26:13Z","updated_at":"2015-03-13T14:26:13Z","body":"I think my only reservation is that if you aren't using es6 features in regular JS files than running them through babel-loader is a waste of cpu cycles and time -- especially for hot dev. If we stick to specifying that `.jsx` files are es6 (or have actual JSX in them) than it reduces the work babel has to do. Less files to process -> faster hot module replacement -> faster dev cycle.\r\n\r\nOn the other hand though running `.js` through babel ensures any modules you may use that also include es6 features or jsx will work correctly."}}