Skip to content

Investigate why select._wrapperState.initialValue is necessary #13410

Closed
@nhunzaker

Description

@nhunzaker

Uncovered during @raunofreiberg's select work (#13389).

select._wrapperState.initialValue is only ever assigned, never referenced. Can it be removed?

Example:
https://github.com/facebook/react/blob/master/packages/react-dom/src/client/ReactDOMFiberSelect.js#L191

It would be great if someone could investigate this, and figure out if it can be removed.

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