When I going to run my react native app on my iPhone Expo this error displayed in red background area.
Invariant Violation: Element type is invalid: e
I had this error from doing my export in the following style with no default export specified. I did not specify a default because I was exporting multiple small components from one file.
export const Modal = (props) => (
)
I was able to get it working by adding brackets to the import statement.
import {Modal} from '../components/Modal.js'