Feat: view -> render
This commit is contained in:
1 parent
10a236fc65
commit
c8bb392cad
24 files changed
+204
-48
No files matched your search
@@ -14,7 +14,7 @@ static Example: FC<()> = |ctx, props| {
|
||||
|
||||
log::debug!("Running component....");
|
||||
|
||||
ctx.view(html! {
|
||||
ctx.render(html! {
|
||||
// <div>
|
||||
// <h1> "Hello, {name}" </h1>
|
||||
// <button onclick={move |_| set_name("jack")}> "jack!" </button>
|
||||
|
||||
Reference in new issue
Block a user