separate mount information from VNodes

This commit is contained in:
Evan Almloff committed 2024-01-09 10:09:08 -06:00
1 parent c9bd5a4e6e
commit aed29b1dec
10 files changed
+1913 -1844

No files matched your search

-2
View File
@@ -287,7 +287,6 @@ fn default_handler(error: CapturedError) -> Element {
Some(VNode::new(
None,
TEMPLATE,
Box::new([Default::default(); 1]),
Box::new([error.to_string().into_dyn_node()]),
Default::default(),
))
@@ -460,7 +459,6 @@ pub fn ErrorBoundary(props: ErrorBoundaryProps) -> Element {
VNode::new(
None,
TEMPLATE,
Box::new([Default::default(); 1]),
Box::new([(props.children).into_dyn_node()]),
Default::default(),
)