Using Rust idioms to construct VDOM #1999
ranile
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
I don't think you should use |
Beta Was this translation helpful? Give feedback.
1 reply
-
Love this idea! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working on a library, yew-dsl (better name desired, suggestions are welcome) that enables the user to construct and use Yew's virtual DOM using Rust functions, instead of a macro like
html!
. See #1168 to learn about how this approach is better than using macros.malvolio
by @teymour-aldridge is an alternative to this.malvolio
's primary focus seems to be raw-HTML generation while also providing support for Yew whereasyew-dsl
is only for Yew's VDOM construction.yew-dsl
is not yet published on crates.io, so please see the doc comments inlib.rs
for API documentation. I'd love to hear feedback/opinions about this.Future plans
Beta Was this translation helpful? Give feedback.
All reactions