payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/mobxjs/mobx-react-lite/issues/238","repository_url":"https://api.github.com/repos/mobxjs/mobx-react-lite","labels_url":"https://api.github.com/repos/mobxjs/mobx-react-lite/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/mobxjs/mobx-react-lite/issues/238/comments","events_url":"https://api.github.com/repos/mobxjs/mobx-react-lite/issues/238/events","html_url":"https://github.com/mobxjs/mobx-react-lite/issues/238","id":521508817,"node_id":"MDU6SXNzdWU1MjE1MDg4MTc=","number":238,"title":"optimizeForReactDom/Native does not work in IE11 due to destructuring","user":{"login":"Tarpsvo","id":2018660,"node_id":"MDQ6VXNlcjIwMTg2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/2018660?v=4","gravatar_id":"","url":"https://api.github.com/users/Tarpsvo","html_url":"https://github.com/Tarpsvo","followers_url":"https://api.github.com/users/Tarpsvo/followers","following_url":"https://api.github.com/users/Tarpsvo/following{/other_user}","gists_url":"https://api.github.com/users/Tarpsvo/gists{/gist_id}","starred_url":"https://api.github.com/users/Tarpsvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tarpsvo/subscriptions","organizations_url":"https://api.github.com/users/Tarpsvo/orgs","repos_url":"https://api.github.com/users/Tarpsvo/repos","events_url":"https://api.github.com/users/Tarpsvo/events{/privacy}","received_events_url":"https://api.github.com/users/Tarpsvo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-11-12T12:02:23Z","updated_at":"2019-11-12T12:02:23Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nAs the `optimiztForReactDom`and `optimizeForReactNative` opt-ins are not transpiled and use object destructuring, they do not work in certain browsers (namely, IE11).\r\n\r\nCan we avoid destructuring and just do it a bit more conventionally?\r\n\r\nFor example:\r\n```\r\nconst ReactDOM = require('react-dom');\r\nrequire('./dist').optimizeScheduler(ReactDOM.unstable_batchedUpdates);\r\n```"}}
other: {"actor":{"display_login":"Tarpsvo"}}