{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/4175","labels_url":"https://api.github.com/repos/facebook/react/issues/4175/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/4175/comments","events_url":"https://api.github.com/repos/facebook/react/issues/4175/events","html_url":"https://github.com/facebook/react/issues/4175","id":89510012,"number":4175,"title":"JSX Compiler broken when pass into anonymous function and one more args","user":{"login":"Huxpro","id":5563315,"avatar_url":"https://avatars.githubusercontent.com/u/5563315?v=3","gravatar_id":"","url":"https://api.github.com/users/Huxpro","html_url":"https://github.com/Huxpro","followers_url":"https://api.github.com/users/Huxpro/followers","following_url":"https://api.github.com/users/Huxpro/following{/other_user}","gists_url":"https://api.github.com/users/Huxpro/gists{/gist_id}","starred_url":"https://api.github.com/users/Huxpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Huxpro/subscriptions","organizations_url":"https://api.github.com/users/Huxpro/orgs","repos_url":"https://api.github.com/users/Huxpro/repos","events_url":"https://api.github.com/users/Huxpro/events{/privacy}","received_events_url":"https://api.github.com/users/Huxpro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-19T08:53:34Z","updated_at":"2015-06-19T23:07:15Z","closed_at":"2015-06-19T23:07:15Z","body":"\r\n```javascript\r\nReact.render(\r\n    <div onClick={\r\n            (function(){\r\n              alert('hey it works')\r\n            })\r\n        } data-test = \"test\"\r\n    > some text.. </div>,\r\n    document.body\r\n);\r\n\r\n```\r\n\r\nAfter compile:\r\n\r\n```javascript\r\nReact.render(\r\n    React.createElement(\"div\", {onClick: \r\n            (function(){\r\n              alert('hey it works')\r\n            }, )\r\n        \"data-test\": \"test\"\r\n    }, \" some text.. \"),\r\n    document.body\r\n);\r\n```\r\n\r\nin jstransform, which is wrong."},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/113667764","html_url":"https://github.com/facebook/react/issues/4175#issuecomment-113667764","issue_url":"https://api.github.com/repos/facebook/react/issues/4175","id":113667764,"user":{"login":"zpao","id":8445,"avatar_url":"https://avatars.githubusercontent.com/u/8445?v=3","gravatar_id":"","url":"https://api.github.com/users/zpao","html_url":"https://github.com/zpao","followers_url":"https://api.github.com/users/zpao/followers","following_url":"https://api.github.com/users/zpao/following{/other_user}","gists_url":"https://api.github.com/users/zpao/gists{/gist_id}","starred_url":"https://api.github.com/users/zpao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpao/subscriptions","organizations_url":"https://api.github.com/users/zpao/orgs","repos_url":"https://api.github.com/users/zpao/repos","events_url":"https://api.github.com/users/zpao/events{/privacy}","received_events_url":"https://api.github.com/users/zpao/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T23:07:15Z","updated_at":"2015-06-19T23:07:15Z","body":"FWIW, this was fixed in newer versions of JSTransform but there were other changes which resulted in us not shipping an updated react-tools. Both of these projects are deprecated but you can switch to using Babel or the latest jstransform (which now does JSX itself - https://github.com/facebook/jstransform#migration-guide)"}}