Feat: implememt nodes better
This commit is contained in:
1 parent
c9d95dd1dc
commit
edbb33b2ee
9 files changed
+317
-387
No files matched your search
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user