最后活跃于 1729152994

knox 修订了这个 Gist 1729152994. 跳至此修订

1 file changed, 12 insertions

Dioxus-7.rs(file created)

@@ -0,0 +1,12 @@
1 + // dioxus
2 + rsx! {
3 + div { class: "my-class", enabled: true, "Hello, {name}" }
4 + }
5 +
6 + // leptos
7 + view! {
8 + <div class="my-class" enabled={true}>
9 + "Hello "
10 + {name}
11 + </div>
12 + }
更新 更早