[DevTools Bug]: DevTools shouldn't skip over keyed Fragments in the tree

This issue has been tracked since 2022-09-05.

Website or app

reactjs/reactjs.org#4981

Repro steps

  1. Wrap something into <Fragment key="stuff">
  2. It doesn't show up in DevTools

We filter out fragments because they tend to be useless. But this one is important! Keys are crucial and we should show anything with a key in the tree.

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

timagixe wrote this answer on 2022-09-05

Hi @gaearon, I would like to give it a shot, if you think this bug is a beginner friendly.

Could you please point which exact package should I look at? I see there are seven of them related to devtools:

react-devtools-core
react-devtools-extensions
react-devtools-inline
react-devtools-shared
react-devtools-shell
react-devtools-timeline
react-devtools
More Details About Repo
Owner Name facebook
Repo Name react
Full Name facebook/react
Language JavaScript
Created Date 2013-05-24
Updated Date 2022-10-03
Star Count 195549
Watcher Count 6650
Fork Count 40505
Issue Count 1119

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date