add a lifetime to the properties trait and make the manual spread example work

This commit is contained in:
Evan Almloff committed 2023-09-20 16:15:11 -05:00
1 parent fc8c25280a
commit fa494349fe
7 files changed
+220 -198

No files matched your search

+1 -1
View File
@@ -423,7 +423,7 @@ impl<'src> ScopeState {
fn_name: &'static str,
) -> DynamicNode<'src>
where
P: Properties + 'child,
P: Properties<'child> + 'child,
'src: 'child,
{
let vcomp = VProps::new(component, P::memoize, props);