Skip to content

state field returns only the value of the first useState call #85

@ShaharMintz-checksum

Description

@ShaharMintz-checksum

When getting the state using getElementState(element.memoizedState) here in the source code, it seems like only the first useState value is considered instead of gathering all values of useState calls together into an array using the next field on the memoizedState object which when not null, holds the value of the next useState call

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions