feat: code quality improvements for core

This commit is contained in:
Jonathan Kelley committed 2021-07-15 04:09:28 -04:00
1 parent 37ed4bed8c
commit 00231adfa2
12 files changed
+124 -758

No files matched your search

-32
View File
@@ -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(())
}
}