wip: continue to tweak suspense
This commit is contained in:
1 parent
08ca068d1c
commit
7e6cea3a13
9 files changed
+90
-84
No files matched your search
@@ -22,14 +22,6 @@ pub(crate) struct VProps<'a, P, A, F: ComponentReturn<'a, A> = Element<'a>> {
|
||||
_marker: PhantomData<A>,
|
||||
}
|
||||
|
||||
enum PropsAllocation<P> {
|
||||
/// If it's memoized, then the heap owns the props
|
||||
Memoized(*mut P),
|
||||
|
||||
/// If it's borrowed, then the parent owns the props
|
||||
Borrowed(P),
|
||||
}
|
||||
|
||||
impl<'a, P, A, F> VProps<'a, P, A, F>
|
||||
where
|
||||
F: ComponentReturn<'a, A>,
|
||||
|
||||
Reference in new issue
Block a user