Skip to content

Only set attributes that have actually changed #25

Closed
@Rich-Harris

Description

@Rich-Harris

I thought browsers might optimise this away, but it seems that – at least in some cases, such as an iframe's srcdoc attribute – invoking the setter causes unnecessary work to happen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions