mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 09:54:41 -05:00
This commit is contained in:
@@ -153,6 +153,20 @@ where
|
||||
OwnedViewState::new(state, self.owner)
|
||||
}
|
||||
|
||||
async fn hydrate_async(
|
||||
self,
|
||||
cursor: &Cursor,
|
||||
position: &PositionState,
|
||||
) -> Self::State {
|
||||
let state = self
|
||||
.owner
|
||||
.with(|| {
|
||||
ScopedFuture::new(self.view.hydrate_async(cursor, position))
|
||||
})
|
||||
.await;
|
||||
OwnedViewState::new(state, self.owner)
|
||||
}
|
||||
|
||||
async fn resolve(self) -> Self::AsyncOutput {
|
||||
let OwnedView { owner, view } = self;
|
||||
let view = owner
|
||||
|
||||
Reference in New Issue
Block a user