gavinmcfarland / plugma

CLI that simplifies creating Figma plugins
MIT License
35 stars 2 forks source link

Implement a message handler between UI and main.js #9

Open LukeFinch opened 2 months ago

LukeFinch commented 2 months ago

I feel like this would be a good option to have in the templates, for a quick starter.

Figma's AI template has an interesting implementation.

I know we've tried other implementations in the past, such as the ones in my Vue3 template, and create-figma-plugin

gavinmcfarland commented 2 months ago

I agree. I've been thinking about this and I have something planned. Stay tuned.

gavinmcfarland commented 3 weeks ago

This is a work-in-progress version of a message handler. It's not been packaged yet and I'm still tweaking it's usage.

https://github.com/gavinmcfarland/figma-msgr