Feat: view -> render
This commit is contained in:
1 parent
10a236fc65
commit
c8bb392cad
24 files changed
+204
-48
No files matched your search
@@ -30,7 +30,7 @@ struct Props {
|
||||
// }
|
||||
|
||||
static Example: FC<Props> = |ctx, _props| {
|
||||
ctx.view(html! {
|
||||
ctx.render(html! {
|
||||
<div>
|
||||
<h1> "hello world!" </h1>
|
||||
<h1> "hello world!" </h1>
|
||||
|
||||
Reference in new issue
Block a user