render.rs
render.rs copied to clipboard
🔏 A safe and simple template engine with the ergonomics of JSX
Prior to this PR Render could only handle attributes without any punctuation in them OR hyphenated attributes. There are however a range of weird and wonderful attributes inside SVG and...
I think this shouldn't break anything, and as long as the contained elements are Cloneable, then Fragments and SimpleElements will be too
From my reading of the spec, self-closing tags are only allowed for void elements of foreign elements. Not sure if there's any case where it's actually required, so for now...
Not sure whats going on here but checkout this layout function. ``` pub fn layout() -> content::Html { content::Html(html!( {"Test"} {"Title"} )) } ``` When I use the above, the...
Certain HTML attributes, such as 's "disabled", are supposed to be present for true and missing for false. Does render have any way to dynamically choose whether an attribute is...
Hi there! Unfortunately, I don't use Rust as much as I would want. If some of you use this library and would like to get a push access to make...
Several changes have been made since the last release, when could a new one be published?
I've found that quite often I want to output an element only if a certain condition is true. Currently that means I have to use an if expression that returns...
I don't see any way currently to use optional parameters. This would be a nice addition, though I'm not sure how it would technically work
Currently the way the `rsx!` macro parses and outputs something akin to a psuedo-dom style set of element and attributes is similar to what React does. But the current use...