figma / code-snippet-editor-plugin

Translate component variants, properties, and more into dynamic code snippets for your design system.
https://www.figma.com/community/plugin/1311777988952403297/code-snippet-editor
MIT License
126 stars 11 forks source link

[Optimization] Precompiled recursive params #48

Closed jake-figma closed 4 months ago

jake-figma commented 4 months ago

We want to recursively render templates without having to parse children during template compilation. We want to have all the nested children params in the params object. This structure would allow for testing outside of the figma context on a nested params object and be more optimized.

Additional benefits: