Not production ready. dashi has not hit v1 yet and is under active development. Expect breaking changes in minor versions.
dashi is a server-first web framework for Deno. JSX is precompiled to HTML with no VDOM intermediary or hydration. Pages update by swapping server-rendered HTML, in the spirit of Hotwire and htmx.
import { type ReadArgs, serve } from "dashi";
function Home({ html }: ReadArgs) {
return html(<h1>Hello</h1>);
}
serve(({ route }) => ({
routes: [
route("/", { GET: Home }),
],
}));deno create jsr:@cookingpot/dashiLearn more in the dashi docs.