feat: code quality improvements for core
This commit is contained in:
1 parent
37ed4bed8c
commit
00231adfa2
12 files changed
+124
-758
No files matched your search
@@ -76,35 +76,3 @@ impl DebugRenderer {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
pub struct DebugVNodeSource {
|
||||
bump: Bump,
|
||||
}
|
||||
impl DebugVNodeSource {
|
||||
fn new() -> Self {
|
||||
Self { bump: Bump::new() }
|
||||
}
|
||||
|
||||
fn render_nodes(&self) -> VNode {
|
||||
// let cx = NodeFactory
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn ensure_creation() -> Result<(), ()> {
|
||||
// static Example: FC<()> = |cx| {
|
||||
// //
|
||||
// cx.render(html! { <div> "hello world" </div> })
|
||||
// };
|
||||
|
||||
// let mut dom = VirtualDom::new(Example);
|
||||
// let machine = DiffMachine::new();
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user