Skip to content

Bug: Derived value does not update in StrictMode #18003

Closed
@amanmahajan7

Description

@amanmahajan7

React version:
16.12.0

Steps To Reproduce

  1. Enter a valid number in the textbox that uses strict mode. Notice the value changes in the textbox that does not use strict mode
  2. Enter a valid number in the textbox that does not use strict mode. Notice the value does not change in the textbox that uses strict mode

Link to code example:
https://codesandbox.io/s/elated-mendeleev-1m5tm

React App

The current behavior

Derived value does not update in strict mode

The expected behavior

Derived value should update in strict mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions