separate mount information from VNodes
This commit is contained in:
1 parent
c9bd5a4e6e
commit
aed29b1dec
10 files changed
+1913
-1844
No files matched your search
@@ -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(),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user