Skip to content

React Native error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined #9

Open

Description

@lastant

The app crashes on Android when trying to display the gallery. React Native 0.44.0

Activity

  1. changed the title [-]React Native error: Element type is invalid: expected a string or a class/function but got: undefined[/-] [+]React Native error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined[/+] on Mar 16, 2019
  2. lastant commented on Mar 17, 2019

    @lastant
    Author

    Fixed by replacing <SafeAreaView ... > with <View ...>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions