{"action":"opened","issue":{"url":"https://api.github.com/repos/xcatliu/react-ie8/issues/32","repository_url":"https://api.github.com/repos/xcatliu/react-ie8","labels_url":"https://api.github.com/repos/xcatliu/react-ie8/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/xcatliu/react-ie8/issues/32/comments","events_url":"https://api.github.com/repos/xcatliu/react-ie8/issues/32/events","html_url":"https://github.com/xcatliu/react-ie8/issues/32","id":158115600,"number":32,"title":"Babel transform  \"export  xx from  'xxx' \" to Object.defineProperty","user":{"login":"nanjixiong218","id":5085933,"avatar_url":"https://avatars.githubusercontent.com/u/5085933?v=3","gravatar_id":"","url":"https://api.github.com/users/nanjixiong218","html_url":"https://github.com/nanjixiong218","followers_url":"https://api.github.com/users/nanjixiong218/followers","following_url":"https://api.github.com/users/nanjixiong218/following{/other_user}","gists_url":"https://api.github.com/users/nanjixiong218/gists{/gist_id}","starred_url":"https://api.github.com/users/nanjixiong218/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanjixiong218/subscriptions","organizations_url":"https://api.github.com/users/nanjixiong218/orgs","repos_url":"https://api.github.com/users/nanjixiong218/repos","events_url":"https://api.github.com/users/nanjixiong218/events{/privacy}","received_events_url":"https://api.github.com/users/nanjixiong218/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-02T11:08:51Z","updated_at":"2016-06-02T11:08:51Z","closed_at":null,"body":"\"Babel transforms your import to Object.defineProperty which doesn't exist in IE8。\"\r\n It should be 'export' ,not 'import' . IE8 has Object.defineProperty [Object.defineProperty](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty).\r\nnow Babel fixed the transform， but has another problem: Babel transform \"export  xx from  'xxx' \" to Object.defineProperty, like:\r\n\"\r\nObject.defineProperty(exports, 'LOCATION_CHANGE', {\r\n  enumerable: true,\r\n  get: function get() {\r\n    return _reducer.LOCATION_CHANGE;\r\n  }\r\n});\r\n\"\r\nthe accessor property not support in ie8.\r\nso cannot use react-router-redux because it use \"export  xx from  'xxx' \";\r\n"}}
{"actor":{"display_login":"nanjixiong218"}}