{"action":"created","issue":{"url":"https://api.github.com/repos/iamstarkov/theming/issues/5","repository_url":"https://api.github.com/repos/iamstarkov/theming","labels_url":"https://api.github.com/repos/iamstarkov/theming/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/iamstarkov/theming/issues/5/comments","events_url":"https://api.github.com/repos/iamstarkov/theming/issues/5/events","html_url":"https://github.com/iamstarkov/theming/issues/5","id":234862847,"number":5,"title":"createBroadcast is not a function","user":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars3.githubusercontent.com/u/1500684?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2017-06-09T15:30:21Z","updated_at":"2017-06-10T00:13:13Z","closed_at":null,"body":"I really have no idea what's going on. But when I tried hooking this up with glamorous [here](https://codesandbox.io/s/n53mYgQ9D) I'm getting:\r\n\r\n```\r\nTypeError: createBroadcast is not a function\r\n    at new ThemeProvider (dll.js:formatted:20246)\r\n    at dll.js:formatted:9691\r\n    at measureLifeCyclePerf (dll.js:formatted:9575)\r\n    at ReactCompositeComponentWrapper._constructComponentWithoutOwner (dll.js:formatted:9690)\r\n    at ReactCompositeComponentWrapper._constructComponent (dll.js:formatted:9683)\r\n    at ReactCompositeComponentWrapper.mountComponent (dll.js:formatted:9638)\r\n    at Object.mountComponent (dll.js:formatted:1790)\r\n    at ReactCompositeComponentWrapper.performInitialMount (dll.js:formatted:9724)\r\n    at ReactCompositeComponentWrapper.mountComponent (dll.js:formatted:9670)\r\n    at Object.mountComponent (dll.js:formatted:1790)\r\n```\r\n\r\nThe problem is in [this file](https://github.com/iamstarkov/theming/blob/master/src/create-theme-provider.js).\r\n\r\nIt's tricky debugging in codesandbox, but this is what the code looks like:\r\n\r\n<img width=\"585\" alt=\"screen shot 2017-06-09 at 9 28 54 am\" src=\"https://user-images.githubusercontent.com/1500684/26982586-171edbfe-4cf6-11e7-9f6b-21125431f1eb.png\">\r\n\r\nYou'll see that I have a breakpoint on where we're requiring `createBroadcast` but that breakpoint never hits and it hits the `_this.broadcast = ...` line first. Quite odd. Not sure what's going on here."},"comment":{"url":"https://api.github.com/repos/iamstarkov/theming/issues/comments/307528202","html_url":"https://github.com/iamstarkov/theming/issues/5#issuecomment-307528202","issue_url":"https://api.github.com/repos/iamstarkov/theming/issues/5","id":307528202,"user":{"login":"iamstarkov","id":559321,"avatar_url":"https://avatars2.githubusercontent.com/u/559321?v=3","gravatar_id":"","url":"https://api.github.com/users/iamstarkov","html_url":"https://github.com/iamstarkov","followers_url":"https://api.github.com/users/iamstarkov/followers","following_url":"https://api.github.com/users/iamstarkov/following{/other_user}","gists_url":"https://api.github.com/users/iamstarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/iamstarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamstarkov/subscriptions","organizations_url":"https://api.github.com/users/iamstarkov/orgs","repos_url":"https://api.github.com/users/iamstarkov/repos","events_url":"https://api.github.com/users/iamstarkov/events{/privacy}","received_events_url":"https://api.github.com/users/iamstarkov/received_events","type":"User","site_admin":false},"created_at":"2017-06-10T00:13:13Z","updated_at":"2017-06-10T00:13:13Z","body":"to clarify about rollup: im not against rollup, i just dont understand how bundling can help more than es modules"}}
{"actor":{"display_login":"iamstarkov"}}