Skip to content

performance: extract export logic to a new thread #2

@carlosdevpereira

Description

@carlosdevpereira

Description

When the "Export" button is clicked, the plugin browser window gets blocked for a few seconds because the main thread get's blocked.

Suggested solution

  • Check if it is possible to use web workers inside the figma browser window
    • And if so extract the logic of the export button to a web worker (a new thread) preventing the main thread from getting blocked.

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