Skip to content

React Native 0.78 ListItem.Accordion Each child in a list should have a unique "key" prop. #3968

Description

@FTW-001

Is there an existing issue for this?

  • I have searched the existing issues

Explain what you did

I directly copied the following code in React Native 0.78 version

Image

Expected behavior

Image

Image

“Each child in a list should have a unique "key" prop. Check the render method of View. It was passed a child from PadView.”

Describe the bug

I have already set the key, but this error still occurred
“Each child in a list should have a unique "key" prop. Check the render method of View. It was passed a child from PadView.”

Steps To Reproduce

![Image](https://github.com/user-attachments/assets/16de3cf6-36af-4139-bc0c-46d39203231c)

![Image](https://github.com/user-attachments/assets/1fbdbabb-42cc-4829-bbf7-8d706b11be72)

“Each child in a list should have a unique "key" prop. Check the render method of `View`. It was passed a child from PadView.”

Screenshots

No response

Your Environment

Global Dependencies:

No related dependency found

Local Dependencies:

  • @rneui/base : ^4.0.0-rc.8
  • @rneui/themed : ^4.0.0-rc.8
  • react : 18.3.1
  • react-native : 0.78.0
  • @types/react : ^19

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions