Feat: view -> render
This commit is contained in:
1 parent
10a236fc65
commit
c8bb392cad
24 files changed
+204
-48
No files matched your search
@@ -290,7 +290,7 @@ mod tests {
|
||||
#[test]
|
||||
fn start_dom() {
|
||||
let mut dom = VirtualDom::new(|ctx, props| {
|
||||
ctx.view(|bump| {
|
||||
ctx.render(|bump| {
|
||||
use crate::builder::*;
|
||||
div(bump).child(text("hello, world")).finish()
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user