feat: a new "island" based architechture (#97)

This commit is contained in:
Luca Casonato
2022-03-04 19:49:27 +01:00
committed by GitHub
parent d441bf2489
commit 8daa280862
70 changed files with 820 additions and 972 deletions
+8
View File
@@ -0,0 +1,8 @@
import { RenderContext, RenderFn } from "../../../server.ts";
export function render(_ctx: RenderContext, render: RenderFn) {
const body = render();
if (typeof body !== "string") {
throw new Error("body is missing");
}
}