Feat: finally solve the component lifetime problem <3
This commit is contained in:
1 parent
7a6aabe4f3
commit
bdc25b581b
4 files changed
+89
-22
No files matched your search
@@ -41,6 +41,10 @@ pub struct Context<'src> {
|
||||
}
|
||||
|
||||
impl<'a> Context<'a> {
|
||||
pub fn props<P>() -> &'a P {
|
||||
todo!()
|
||||
}
|
||||
|
||||
// impl<'a, PropType> Context<'a, PropType> {
|
||||
/// Access the children elements passed into the component
|
||||
pub fn children(&self) -> Vec<VNode> {
|
||||
|
||||
Reference in new issue
Block a user