Skip to main content
Module

x/fastro/server/types.ts>SSR

Fast and simple web application framework for deno
Go to Latest
interface SSR
import { type SSR } from "https://deno.land/x/fastro@v0.60.1/server/types.ts";

Properties

dir: (dir: string) => SSR
component: (el: JSX.Element) => SSR
title: (title: string) => SSR
meta: (meta: string) => SSR
script: (script: string) => SSR
style: (style: string) => SSR
render: () => Response
_createBundle: (bundle?: string) => void

Used by internal system to hydrate and create bundle on application initiation

_setRequest: (req: Request) => void

Used by internal system to set request on response init to get the url. This url is used to get the hydrated and bundled JS file.