import { type Plugin } from "https://deno.land/x/fresh@1.1.2/src/server/types.ts";
Methods
The render hook is called on the server every time some JSX needs to
be turned into HTML. The render hook needs to call the ctx.render
function exactly once.
The hook can return a PluginRenderResult
object that can do things like
inject CSS into the page, or load additional JS files on the client.