Skip to content

Commit

Permalink
Merge pull request #119 from jquesada2016/leptos_dom_v2
Browse files Browse the repository at this point in the history
leptos_dom v2
  • Loading branch information
gbj authored Dec 29, 2022
2 parents 528a9d7 + 0145b01 commit e6a1255
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions leptos_dom/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,12 @@ impl IntoView for View {
}
}

impl IntoView for &View {
fn into_view(self, _: Scope) -> View {
self.clone()
}
}

impl<const N: usize> IntoView for [View; N] {
#[cfg_attr(
debug_assertions,
Expand Down

0 comments on commit e6a1255

Please sign in to comment.