Skip to content

Flatlist Web Error #196

@leosilberg

Description

@leosilberg

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

Uncaught Error: 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 FlatList.

Library version

3.0.0

Environment info

Expo 54
Bun 
Windows

Steps to reproduce

  1. bunx rn-new@next --nativewind
  2. Add web deps with expo
  3. Import Flatlist component
  4. Run on web

Reproducible example repository

https://github.com/leosilberg/my-expo-app

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions