wip: refactor
This commit is contained in:
1 parent
9ad5e49654
commit
8b0eb87c72
13 files changed
+96
-128
No files matched your search
@@ -6,7 +6,7 @@ pub static Example: FC<()> = |cx| {
|
||||
// Currently, SSR is only supported for whole VirtualDOMs
|
||||
// This is an easy/low hanging fruit to improve upon
|
||||
let mut dom = VirtualDom::new(SomeApp);
|
||||
dom.rebuild_in_place().unwrap();
|
||||
dom.rebuild();
|
||||
ssr::render_vdom(&dom, |c| c)
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user