Remove boxedanyprops abstraction

This commit is contained in:
Jonathan Kelley committed 2024-01-16 16:09:59 -08:00
1 parent fb4f97406c
commit 9f595171ce
4 files changed
+9 -37

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
//! This module provides the primary mechanics to create a hook-based, concurrent VDOM for Rust.
use crate::{
any_props::{BoxedAnyProps, VProps},
any_props::VProps,
arena::ElementId,
innerlude::{
DirtyScope, ElementRef, ErrorBoundary, NoOpMutations, SchedulerMsg, ScopeState, VNodeMount,
@@ -287,7 +287,7 @@ impl VirtualDom {
};
let root = dom.new_scope(
BoxedAnyProps::new(VProps::new(
Box::new(VProps::new(
Rc::new(root).as_component(),
|_, _| true,
root_props,