polish: exampels

This commit is contained in:
Jonathan Kelley committed 2021-09-24 02:37:51 -04:00
1 parent 047c810507
commit 04d16b41dc
8 files changed
+90 -88

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ fn main() {
static App: FC<()> = |cx, props| {
let mut val = use_state(cx, || 0);
cx.render(rsx! {
div {
h1 {"hello world. Count: {val}"}