Skip to content

Comments

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

Closed
rambip wants to merge 3 commits intoDioxusLabs:mainfrom
rambip:main
Closed

Generate the dioxus_html/src/elements.rs with codegen#3274
rambip wants to merge 3 commits intoDioxusLabs:mainfrom
rambip:main

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
@jkelleyrtp
Copy link
Member

Hi there, just closing this since it's been up for a while. Please feel free to re-open it or make a new PR if anything updates here!

@jkelleyrtp jkelleyrtp closed this Jun 24, 2025
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.

2 participants