Skip to content

Bug: Dev Tools: TypeError: Cannot read property 'memoizedState' of null #18514

Closed

Description

@bradzacher

React version:

Steps To Reproduce

Repro steps using confidential internal fb tool provided separately (https://fb.workplace.com/groups/2299331103613797/permalink/2605716262975278/)

Gist of the repro:

  1. open app
  2. open react dev tools to profiling tab
  3. turn on "Record why each component rendered while profiling"
  4. interact with app
  5. following error occurs: "TypeError: Cannot read property 'memoizedState' of null"
  6. inspecting the flamegraph now shows incomplete information

Based on the stack trace, it looks like the issue occurs specifically on this line:
https://github.com/facebook/react/blob/3e94bce765d355d74f6a60feb4addb6d196e3482/packages/react-devtools-shared/src/backend/console.js#L135

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions