Feat: WIP ctx
This commit is contained in:
1 parent
b3e6886351
commit
7a6aabe4f3
18 files changed
+430
-99
No files matched your search
@@ -1,6 +1,7 @@
|
||||
//! Helpers for building virtual DOM VNodes.
|
||||
|
||||
use crate::{
|
||||
innerlude::VComponent,
|
||||
nodes::{Attribute, Listener, NodeKey, VNode},
|
||||
prelude::VElement,
|
||||
};
|
||||
@@ -1079,3 +1080,8 @@ pub fn on<'a, 'b, F: 'static>(
|
||||
callback: bump.alloc(callback),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn virtual_child<'a, T>(bump: &'a Bump, props: T, f: crate::innerlude::FC<T>) -> VNode<'a> {
|
||||
todo!()
|
||||
// VNode::Component()
|
||||
}
|
||||
Reference in new issue
Block a user