{"action":"closed","issue":{"url":"https://api.github.com/repos/guybedford/jspm-react-component-demo/issues/7","repository_url":"https://api.github.com/repos/guybedford/jspm-react-component-demo","labels_url":"https://api.github.com/repos/guybedford/jspm-react-component-demo/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/guybedford/jspm-react-component-demo/issues/7/comments","events_url":"https://api.github.com/repos/guybedford/jspm-react-component-demo/issues/7/events","html_url":"https://github.com/guybedford/jspm-react-component-demo/issues/7","id":175227748,"number":7,"title":"babel plugin for react jsx","user":{"login":"sahiljain112","id":11676660,"avatar_url":"https://avatars.githubusercontent.com/u/11676660?v=3","gravatar_id":"","url":"https://api.github.com/users/sahiljain112","html_url":"https://github.com/sahiljain112","followers_url":"https://api.github.com/users/sahiljain112/followers","following_url":"https://api.github.com/users/sahiljain112/following{/other_user}","gists_url":"https://api.github.com/users/sahiljain112/gists{/gist_id}","starred_url":"https://api.github.com/users/sahiljain112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahiljain112/subscriptions","organizations_url":"https://api.github.com/users/sahiljain112/orgs","repos_url":"https://api.github.com/users/sahiljain112/repos","events_url":"https://api.github.com/users/sahiljain112/events{/privacy}","received_events_url":"https://api.github.com/users/sahiljain112/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-06T11:51:29Z","updated_at":"2016-09-06T12:04:53Z","closed_at":"2016-09-06T12:04:53Z","body":"Hey @guybedford. I was reading the docs for jspm@beta. There was a link to this repository there.\r\nThe docs don't have an option for babel transformation for jsx syntax. As a beginner, it took me quite some time to go through the package.json and config file of this repository where I came across this code snippet \r\n`  \"babelOptions\": {\r\n            \"plugins\": [\r\n              \"babel-plugin-transform-react-jsx\"\r\n            ]\r\n          }`\r\n\r\nIt helped me solved the problem. But mentioning this would greatly save time.\r\nI also tried using the babel-preset-react in my .babelrc file but that didn't work. Can you tell me why?\r\n"}}
{"actor":{"display_login":"sahiljain112"}}