{"action":"created","issue":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/888","repository_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit","labels_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/888/labels{/name}","comments_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/888/comments","events_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/888/events","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/888","id":162374065,"number":888,"title":"Q. Automatically finding errors that generate React `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).`","user":{"login":"JMacLulich","id":1563391,"avatar_url":"https://avatars.githubusercontent.com/u/1563391?v=3","gravatar_id":"","url":"https://api.github.com/users/JMacLulich","html_url":"https://github.com/JMacLulich","followers_url":"https://api.github.com/users/JMacLulich/followers","following_url":"https://api.github.com/users/JMacLulich/following{/other_user}","gists_url":"https://api.github.com/users/JMacLulich/gists{/gist_id}","starred_url":"https://api.github.com/users/JMacLulich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMacLulich/subscriptions","organizations_url":"https://api.github.com/users/JMacLulich/orgs","repos_url":"https://api.github.com/users/JMacLulich/repos","events_url":"https://api.github.com/users/JMacLulich/events{/privacy}","received_events_url":"https://api.github.com/users/JMacLulich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-27T04:56:22Z","updated_at":"2016-06-27T13:10:46Z","closed_at":null,"body":"Hi Guys,\r\n\r\nI'm really enjoying using the this starter kit as it has saved me a lot of time.\r\n\r\nHowever, is it just me or is anyone else running into a large number of these types of errors:\r\n\r\n```\r\nwarning.js:44Warning: 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).warning @ warning.js:44createElement @ ReactElementValidator.js:221renderError @ main.js:64render @ main.js:70(anonymous function) @ main.js:79__webpack_require__ @ bootstrap 84723e2…:585fn @ bootstrap 84723e2…:109(anonymous function) @ app.84723e2….js:6__webpack_require__ @ bootstrap 84723e2…:585webpackJsonpCallback @ bootstrap 84723e2…:21(anonymous function) @ app.84723e2….js:1\r\ninvariant.js:38Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.\r\n```\r\n\r\nIt's literally costing me hours trying to track down where exactly I'm not exporting a function/object or some other error.\r\n\r\nThe error for all intents is basically _useless_. \r\n\r\nI have no idea where in the code base it's complaining about, or what its complaining about.\r\n\r\nThis is basically, \"there is an error somewhere in your code, I'm not going to give you any idea where it is.\"\r\n\r\nI'm sure I'm missing something, is there an option or some kind of processor I can enable that can tell me these things in advance? or in the browser? because it's very very painful process to try and find these by trial and error.\r\n\r\nKind regards, Jason.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/comments/228740784","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/888#issuecomment-228740784","issue_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/888","id":228740784,"user":{"login":"davezuko","id":6439050,"avatar_url":"https://avatars.githubusercontent.com/u/6439050?v=3","gravatar_id":"","url":"https://api.github.com/users/davezuko","html_url":"https://github.com/davezuko","followers_url":"https://api.github.com/users/davezuko/followers","following_url":"https://api.github.com/users/davezuko/following{/other_user}","gists_url":"https://api.github.com/users/davezuko/gists{/gist_id}","starred_url":"https://api.github.com/users/davezuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davezuko/subscriptions","organizations_url":"https://api.github.com/users/davezuko/orgs","repos_url":"https://api.github.com/users/davezuko/repos","events_url":"https://api.github.com/users/davezuko/events{/privacy}","received_events_url":"https://api.github.com/users/davezuko/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T13:10:45Z","updated_at":"2016-06-27T13:10:45Z","body":"This is something that would have to be fixed on the webpack or babel level, since they are responsible for building the dependency tree and importing all of the modules. If somebody knows of a plugin or configuration option to switch on, I'd love to do so, but I really don't think there is much we can do.\r\n\r\nWe do have ESLint, but there's a limit to how much we can control. If you do want to get rid of these errors entirely, I recommend trying out something like TypeScript, since what you're referring to are fairly common troubles for JS devs, and not exactly something specific to this project."}}
{"actor":{"display_login":"davezuko"}}