wip: more docs
This commit is contained in:
1 parent
a9a82932c9
commit
34c3107418
4 files changed
+40
-53
No files matched your search
@@ -329,6 +329,9 @@ impl<'bump> DiffMachine<'bump> {
|
||||
}
|
||||
|
||||
if children.len() > 0 {
|
||||
self.stack.element_id_stack.push(real_id);;
|
||||
// push our element_id onto the stack
|
||||
// drop our element off the stack
|
||||
self.stack.create_children(children, MountType::Append);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -170,8 +170,6 @@ pub(crate) struct SuspenseHook {
|
||||
pub value: Rc<RefCell<Option<Box<dyn Any>>>>,
|
||||
}
|
||||
|
||||
type SuspendedCallback = Box<dyn for<'a> Fn(SuspendedContext<'a>) -> DomTree<'a>>;
|
||||
|
||||
pub struct SuspendedContext<'a> {
|
||||
pub(crate) inner: Context<'a, ()>,
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@ log = "0.4.14"
|
||||
fxhash = "0.2.1"
|
||||
wasm-logger = "0.2.0"
|
||||
console_error_panic_hook = "0.1.6"
|
||||
generational-arena = "0.2.8"
|
||||
wasm-bindgen-test = "0.3.21"
|
||||
once_cell = "1.8"
|
||||
async-channel = "1.6.1"
|
||||
|
||||
Reference in new issue
Block a user