소스 검색

fix route prerendering

Evan Almloff 1 년 전
부모
커밋
9e70aae989
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      packages/router/src/incremental.rs

+ 2 - 1
packages/router/src/incremental.rs

@@ -50,7 +50,8 @@ where
                         &mut tokio::io::sink(),
                         |vdom| {
                             Box::pin(async move {
-                                let _ = vdom.wait_for_suspense().await;
+                                let _ = vdom.rebuild();
+                                vdom.wait_for_suspense().await;
                             })
                         },
                         wrapper,