Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Optimization] Precompiled recursive params #48

Closed
jake-figma opened this issue Mar 11, 2024 · 0 comments
Closed

[Optimization] Precompiled recursive params #48

jake-figma opened this issue Mar 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jake-figma
Copy link
Collaborator

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:

  • know the precise number of children that will render for a template (children that have a template with a shared title + lang), not just the number of children
  • know if a template refers to specific params before generating them (Add exportAsync output to params #46 - svg export. we'd only want to supply this for templates that refer to it)
@jake-figma jake-figma added the enhancement New feature or request label Mar 11, 2024
@jake-figma jake-figma self-assigned this Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant