feat: a new "island" based architechture (#97)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user