Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot analyse component State #17767

Closed
rakhi2104 opened this issue Jan 3, 2020 · 1 comment
Closed

Cannot analyse component State #17767

rakhi2104 opened this issue Jan 3, 2020 · 1 comment

Comments

@rakhi2104
Copy link

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)
@bvaughn
Copy link
Contributor

bvaughn commented Jan 3, 2020

This looks like a duplicate of #17754 which was fixed by #17757 yesterday (but has not yet been released). If you'd like to provide a repro case for the bug, I can verify that it is indeed the same bug- but I'm pretty confident based on your description here.

The release should go out in the next couple of days.

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

No branches or pull requests

2 participants