Public
HTTP (deprecated)
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
5
6
7
8
9
import { hydrate } from "https://esm.town/v/pomdtr/ssr";
import { Hono } from "npm:hono@4.0.7";
const app = new Hono();
app.all("/", hydrate("pomdtr/example_component"));
app.all("/greet/:name", hydrate("pomdtr/example_greet_component"));
export default app.fetch;