wip: move children onto scope

This commit is contained in:
Jonathan Kelley committed 2021-11-01 03:49:32 -04:00
1 parent d1b294fff0
commit f438bbcfd2
6 files changed
+85 -19

No files matched your search

-2
View File
@@ -340,8 +340,6 @@ impl ScopeInner {
let render: &dyn for<'b> Fn(&'b ScopeInner) -> Element<'b> = unsafe { &*self.caller };
// Todo: see if we can add stronger guarantees around internal bookkeeping and failed component renders.
//
// todo!()
if let Some(builder) = render(self) {
let new_head = builder.into_vnode(NodeFactory {
bump: &self.frames.wip_frame().bump,