Uncaught (in promise) Error: Element type is invalid: expected a string (for built-in components) code example
Example: element type is invalid expected a string
In my case (using Webpack) it was the difference between:
import {MyComponent} from '../components/xyz.js';
vs
import MyComponent from '../components/xyz.js';