Skip to content

Instantly share code, notes, and snippets.

@alexvcasillas
Created August 28, 2017 12:06
Show Gist options
  • Save alexvcasillas/f2a612917645c1de74e479d17aef154c to your computer and use it in GitHub Desktop.
Save alexvcasillas/f2a612917645c1de74e479d17aef154c to your computer and use it in GitHub Desktop.
webpack-react-bundle-error
React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment