Skip to content

Bug: React Dev Tools fail to show component updates with memoized components. #20696

@lifeiscontent

Description

@lifeiscontent

React version: 17.0.1

Steps To Reproduce

  1. run the project: https://github.com/lifeiscontent/immutable-todo
  2. open react dev tools and set the highlight updates when components render option.
  3. add changes to the todos
  4. see no updates are displayed via React dev tools

Link to code example:

https://github.com/lifeiscontent/immutable-todo

The current behavior

currently, updates are only displayed if the react component is not memoized.

The expected behavior

all react components should show their updates regardless of memoization.

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