Feat: implememt nodes better

This commit is contained in:
Jonathan Kelley committed 2021-02-07 19:14:04 -05:00
1 parent c9d95dd1dc
commit edbb33b2ee
9 files changed
+317 -387

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@ fn test_use_state(ctx: Context<()>) -> VNode {
// Those vnodes are then tossed out and new ones are installed, meaning and old references (potentially bad)
// are removed and UB is prevented from /affecting/ the program
{
VNode::Element(VElement::new("button"))
VNode::text("blah")
}
}