Skip to content

Invariant Violation:  #6

@GabrielaVillaAngeles

Description

@GabrielaVillaAngeles

When executing sends me the following error, do you know what I'm doing wrong?

I used the code that is published

Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. 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 FlatListDemo.

This error is located at:
in FlatListDemo (at withExpoRoot.js:22)
in RootErrorBoundary (at withExpoRoot.js:21)
in ExpoRootComponent (at renderApplication.js:34)
in RCTView (at View.js:44)
in RCTView (at View.js:44)
in AppContainer (at renderApplication.js:33)

  • node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:5630:10 in createFiberFromElement
  • node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js:9710:8 in reconcileSingleElement
  • ... 21 more stack frames from framework internals

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