Skip to content

Batch is not reapplied upon context restoration #16942

@Rich-Harris

Description

@Rich-Harris

Describe the bug

Any time you have an expression like {await promise && foo}, foo is the latest value rather than the value associated with the batch that was restored

Reproduction

link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions