expo / expo/examples

Element 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, or you might have mixed up default and named imports. Check the render method of `App`. Error: Element 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, or

Open
#491 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.7k
Forks
1.1k
Avg merge
11h 15m
Merged PRs (30d)
1

Description

this error just means you are trying to render something that is undefined. for example:

```
let MyComponent = undefined

return
```

that will give you this error

------------------------------------------------
Your placement makes sense.

After many days of fighting and looking for a solution, we were left with the components that were being called by "} />", the error was because the "Home" component did not exist nothing, I just creat
![Capturar](https://user-images.githubusercontent.com/83662906/350668510-f737d505-4b8f-4667-aee5-4d55f205d05d.PNG)
ed the home function and that's it, resolved.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.