RocketChat / RocketChat/Rocket.Chat.ReactNative

Error: Each child in a list should have a unique "key" prop

Open
#4,943 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 bug
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Description:

Each child in a list should have a unique "key" prop in inline at the paragraph.tsx
It is giving error after running the app first time.

Environment Information:
Rocket.Chat Server Version: 4.8.7
Rocket.Chat App Version: 4.35.1 Single Server
Device Name: Android
OS Version: Android 10

Steps to reproduce:

It is giving error after running the app first time. in logs

Screenshot
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating paragraph.tsx and reproducing the first app run on Android 10 with the reported versions. Inspect the logs for the unique key warning and determine which list in paragraph.tsx triggers it. Done means the warning no longer appears during the initial run.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.