Skip to content

Commit

Permalink
Resolve first, then transfer.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Aug 2, 2022
1 parent 2038c77 commit 9a5f2b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/yew/src/virtual_dom/vlist.rs
Expand Up @@ -177,7 +177,7 @@ mod feat_ssr {
}
_ => {
let buf_capacity = w.capacity();
let mut child_streams = Vec::with_capacity(self.children.len());
let mut child_streams = Vec::with_capacity(self.children.len() - 1);
let mut child_furs = FuturesUnordered::new();

let mut children = self.children.iter();
Expand Down Expand Up @@ -212,7 +212,7 @@ mod feat_ssr {
}
};

future::join(transfer_fur, resolve_fur).await;
future::join(resolve_fur, transfer_fur).await;
}
}
}
Expand Down

0 comments on commit 9a5f2b2

Please sign in to comment.