Skip to content

performance: extract export logic to a new thread #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
carlosdevpereira opened this issue Aug 2, 2023 · 0 comments
Open

performance: extract export logic to a new thread #2

carlosdevpereira opened this issue Aug 2, 2023 · 0 comments

Comments

@carlosdevpereira
Copy link
Collaborator

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant