4 ms·
I was really skeptical when they announced the realms approach, and feel the same way about this one. The simple solution (and one that relies on proven browser
by underbluewaters 7y ago
I was really skeptical when they announced the realms approach, and feel the same way about this one. The simple solution (and one that relies on proven browser-provided apis) is to isolate such code within an iframe. Yes there is some overhead when communicating over the postMessage api but it is not great.
- aboodman 7y agoI wonder if it's because they didn't want user code to have access to browser APIs, to avoid inadvertently growing dependencies on them. edit: they explain all the rationale here and it makes a lot of sense to me: https://www.figma.com/blog/how-we-built-the-figma-plugin-system/ https://www.figma.com/blog/how-we-built-the-figma-plugin-sys...