Skip to content

Optimize plugin window by droping React, adopting Svelte or Preact #152

Open
@softmarshmallow

Description

@softmarshmallow

Currently the production mode of the figma plugin is hosted on plugin window and the hosted plugin ui (Both React)
But since the bootup time is critical, we can optimize this via using minimized version of framework (or even vanilla) just for hosting a plugin ui on plugin window.

I'm not sure how much booting time can be saved, but worth a try ;)

References

Resolutions

  • change plugin host to vanilla html + js + css
  • change PluginApp not to wait until PluginService to bootup (show ui first, don't throw when initialized without timeout)
  • Optimize web for faster loading speed across network

Current

grida-figma-booting-performance-snapshot.mov

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