diff --git a/leptos/src/children.rs b/leptos/src/children.rs index 4721404996..63f014a046 100644 --- a/leptos/src/children.rs +++ b/leptos/src/children.rs @@ -277,6 +277,7 @@ where /// A typed equivalent to [`ChildrenFn`], which takes a generic but preserves type information to /// allow the compiler to optimize the view more effectively. +#[derive(Clone)] pub struct TypedChildrenFn(Arc View + Send + Sync>); impl Debug for TypedChildrenFn {