feat: todomvc

This commit is contained in:
Jonathan Kelley committed 2021-04-01 00:01:42 -04:00
1 parent ce33031519
commit cfa0927cdd
20 files changed
+934 -245

No files matched your search

+4
View File
@@ -53,6 +53,9 @@ fn html_render(
#[test]
fn test_serialize() {
let mut dom = VirtualDom::new(|ctx, props| {
//
//
//
ctx.render(rsx! {
div {
title: "About W3Schools"
@@ -70,6 +73,7 @@ fn test_serialize() {
}
})
});
dom.rebuild();
let renderer = SsrRenderer { dom };