Skip to content

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

Closed
@gaearon

Description

@gaearon

Website or app

reactjs/react.dev#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

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