Skip to content

Commit 4a85281

Browse files
committed
fix: Hydration of prerendered HTML w/out data
1 parent c51666e commit 4a85281

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

prerender.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ export default async function prerender(vnode, options) {
4646
};
4747

4848
try {
49-
const html = await render();
49+
let html = await render();
50+
html += `<script type="isodata"></script>`;
5051
return { html, links };
5152
} finally {
5253
vnodeHook = null;

0 commit comments

Comments
 (0)