chore: update deps (#42)

This commit updates dependencies. Preact is now pulled from esm.sh.
This commit is contained in:
Luca Casonato
2021-07-20 12:52:25 +02:00
committed by GitHub
parent 26ed972f1a
commit 8d2935aef3
6 changed files with 24 additions and 32 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { generateUuid, renderToString } from "./deps.ts";
import { renderToString } from "./deps.ts";
import { ComponentChild, h } from "../runtime/deps.ts";
import { DATA_CONTEXT } from "../runtime/hooks.ts";
import { Page, Renderer } from "./types.ts";
@@ -56,7 +56,7 @@ export async function render(opts: RenderOptions): Promise<string> {
children: h(opts.page.component, props),
});
const ctx = new RenderContext(generateUuid());
const ctx = new RenderContext(crypto.randomUUID());
let suspended = 0;
const renderWithRenderer = (): string | Promise<string> => {