In a Figma plugin, when you attempt to load all the pages in the new(ish) async API, the UI thread gets blocked. Here's an example of how you'd make it yield and have the UI display a nice progress bar to the user.
gist.github.com/ivanblagdan/...
In a Figma plugin, when you attempt to load all the pages in the new(ish) async API, the UI thread gets blocked. Here's an example of how you'd make it yield and have the UI display a nice progress bar to the user.
gist.github.com/ivanblagdan/...
For anyone looking to outgrow the barebones Figma API postMessage when working with UI and Main threads, I've made some utilities to my liking. I've since used this pattern in an Electron app I'm working on, with a bunch of more processes running together.
gist.github.com/ivanblagdan/...
I've built a Figma plugin for the first time and it was a fun few weeks! The team has been working hard on a CLI tool to manage design system handoff for devs, and we figured we needed a UI for some of it.
www.figma.com/community/pl...
So whatβs this place about? π€