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

Generate the dioxus_html/src/elements.rs with codegen #3274

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rambip
Copy link

@rambip rambip commented Dec 3, 2024

For now, it is just initial work.

Motivation:

  • easier to read and to contribute, in particular for people who would like to use dioxus with other elements.
  • if it works, dioxus-cli would not need to be compiled using the exact same version of dioxus_elements. The idea is that the cli could look at the dependencies, find what element library is used, get the elements.toml, and use it to do hot-reloading.

Missing:

  • syntax to specify the same attributes for a lot of elements
  • what name to give to the a element in the svg namespace.

@jkelleyrtp jkelleyrtp marked this pull request as draft December 3, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant