Skip to content

Cannot analyse component State #17767

Closed
Closed
@rakhi2104

Description

@rakhi2104

Do you want to request a feature or report a bug?

  • Bug

What is the current behavior?

  • On trying to analyse a component State using React Developer Tools, the analyse pane stays in the Loading ... state and throws this error
Uncaught TypeError: Cannot read property 'name' of undefined
    at O (backend.js:1)
    at s (backend.js:1)
    at s (backend.js:1)
    at s (backend.js:1)
    at l (backend.js:1)
    at Object.inspectElement (backend.js:6)
    at t.<anonymous> (backend.js:6)
    at t.r.emit (backend.js:6)
    at backend.js:32
    at t (backend.js:8)

What is the expected behavior?

  • Able to analyse component State as in the previous React Dev Tools versions.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

  • React Developer Tools version: 4.3.0 (12/20/2019)
  • React Version: ^16.4.0
  • Browsers:
    • Chrome: Version 79.0.3945.88 (Official Build) (64-bit)
    • Brave: Version 1.1.23 Chromium: 79.0.3945.88 (Official Build) (64-bit)

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