Skip to content

Deep copies should consider structuredClone #182

Open
@joshua-dean

Description

A few spots use JSON.parse(JSON.stringify(... as a "deep clone".
A fairly recent addition is window.structuredClone(..., which is probably better practice. Some things don't work with it, so there's some testing to be done before switching to it.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions