Skip to content

FlatList Error #34783

@JonhsonFu

Description

@JonhsonFu

Description

When I navigate to the page which has FlatList,it will send the error "TypeError: undefined is not an object (evaluating 'props.getItem')",I have no idea,help!!!
image
image
image
And I checked my babel.config.js ,it's without "@babel/plugin-proposal-class-properties",but in my yarn.lock,it's came to my dependencies.
image
image

Version

0.66.0

Output of npx react-native info

image

image

Steps to reproduce

just goto the page which used FlatList

Snack, code example, screenshot, or link to a repository

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions