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

Support higher-order "compositions" #129

Open
mikaelvesavuori opened this issue Oct 9, 2021 · 0 comments
Open

Support higher-order "compositions" #129

mikaelvesavuori opened this issue Oct 9, 2021 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@mikaelvesavuori
Copy link
Owner

Support "compositions" that are higher-order components (groups?) referring to nested elements.

This would enable creating for example a Form that would contain elements (Button, Heading, Paragraph). Currently, this needs to be manually puzzled together, as is currently done in the Figmagic example https://github.com/mikaelvesavuori/figmagic-example).

Supporting this is probably a pretty significant undertaking as elements need to be enumerated (and generated?) before-hand, so these can be referenced in the higher-order component ("Form", in the above example). Because this also lacks a conceptual model in Figmagic, there will certainly be other parts of the source code that need to be adjusted.

Success criteria:

  • The solution should follow the overall, general standards
  • As far as any new concepts go, these should stay consistent with the general domain model that is outlined
  • The solution requires good testing, ideally (near-) full coverage of additions
  • Any user APIs should stay unpolluted and unharmed, and new additions should stay consistent with existing language etc
@mikaelvesavuori mikaelvesavuori created this issue from a note in Figmagic (In progress) Oct 9, 2021
@mikaelvesavuori mikaelvesavuori added hacktoberfest Hacktoberfest enhancement New feature or request labels Oct 9, 2021
@mikaelvesavuori mikaelvesavuori changed the title FEATURE: Support higher-order "compositions" Support higher-order "compositions" Oct 9, 2021
@mikaelvesavuori mikaelvesavuori removed the hacktoberfest Hacktoberfest label Nov 8, 2021
@mikaelvesavuori mikaelvesavuori moved this from In progress to To do in Figmagic Mar 28, 2022
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
Figmagic
  
To do
Development

No branches or pull requests

1 participant