{"action":"created","issue":{"url":"https://api.github.com/repos/nfl/react-helmet/issues/190","repository_url":"https://api.github.com/repos/nfl/react-helmet","labels_url":"https://api.github.com/repos/nfl/react-helmet/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/nfl/react-helmet/issues/190/comments","events_url":"https://api.github.com/repos/nfl/react-helmet/issues/190/events","html_url":"https://github.com/nfl/react-helmet/issues/190","id":187522109,"number":190,"title":"Broken export when using Webpack 2 (React.createElement: type should not be null)","user":{"login":"halt-hammerzeit","id":477167,"avatar_url":"https://avatars.githubusercontent.com/u/477167?v=3","gravatar_id":"","url":"https://api.github.com/users/halt-hammerzeit","html_url":"https://github.com/halt-hammerzeit","followers_url":"https://api.github.com/users/halt-hammerzeit/followers","following_url":"https://api.github.com/users/halt-hammerzeit/following{/other_user}","gists_url":"https://api.github.com/users/halt-hammerzeit/gists{/gist_id}","starred_url":"https://api.github.com/users/halt-hammerzeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halt-hammerzeit/subscriptions","organizations_url":"https://api.github.com/users/halt-hammerzeit/orgs","repos_url":"https://api.github.com/users/halt-hammerzeit/repos","events_url":"https://api.github.com/users/halt-hammerzeit/events{/privacy}","received_events_url":"https://api.github.com/users/halt-hammerzeit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-11-05T20:46:41Z","updated_at":"2016-11-07T16:27:41Z","closed_at":null,"body":"In `3.1.0` the export is not broken: `typeof require('react-helmet') === 'function'`.\r\nIn `3.2.0` it is broken: `typeof require('react-helmet') === 'object'`.\r\nThe error is \"Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `Layout`.\"\r\nThe cause is that `v3.2.x` of `ReactHelmet` is `{ default: function ReactHelmet() {} }` when imported in Webpack 2."},"comment":{"url":"https://api.github.com/repos/nfl/react-helmet/issues/comments/258884241","html_url":"https://github.com/nfl/react-helmet/issues/190#issuecomment-258884241","issue_url":"https://api.github.com/repos/nfl/react-helmet/issues/190","id":258884241,"user":{"login":"cwelch5","id":2126424,"avatar_url":"https://avatars.githubusercontent.com/u/2126424?v=3","gravatar_id":"","url":"https://api.github.com/users/cwelch5","html_url":"https://github.com/cwelch5","followers_url":"https://api.github.com/users/cwelch5/followers","following_url":"https://api.github.com/users/cwelch5/following{/other_user}","gists_url":"https://api.github.com/users/cwelch5/gists{/gist_id}","starred_url":"https://api.github.com/users/cwelch5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwelch5/subscriptions","organizations_url":"https://api.github.com/users/cwelch5/orgs","repos_url":"https://api.github.com/users/cwelch5/repos","events_url":"https://api.github.com/users/cwelch5/events{/privacy}","received_events_url":"https://api.github.com/users/cwelch5/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T16:27:41Z","updated_at":"2016-11-07T16:27:41Z","body":"@halt-hammerzeit Apologies for the confusion with the babel setup.  We are looking into seeing how we can fix this.  Just want to be clear, you were using this library @ v3.1.0 with no problems and now with v3.2.1 your webpack build automatically picks up the `module`, which is the `es` version?\r\n\r\n@andykenward We would prefer not to have people add special babel configuration to consume the library properly.  I thought that adding the `jsnext:main` and `module` in the package.json created a purely opt-in situation.  Will other users, besides Webpack users automatically get the `es` version?"}}
{"actor":{"display_login":"cwelch5"}}