Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ultra/lib/ultra.ts>UltraServer

Zero-Legacy Deno/React Suspense SSR Framework
Latest
class UltraServer
extends Hono<E, S, BasePath>
import { UltraServer } from "https://deno.land/x/ultra@v2.3.8/lib/ultra.ts";

Constructors

new
UltraServer(root: string, options: UltraServerOptions)

Type Parameters

optional
E extends Env = Env
optional
S = { }
optional
BasePath extends string = "/"

Properties

assetManifest: Map<string, string> | undefined
assetManifestPath: string
baseUrl: string
optional
enableEsModuleShims: boolean
optional
entrypoint: string
optional
esModuleShimsPath: string
importMap: ImportMap | undefined
optional
importMapPath: string
mode: Mode
optional
ultraDir: string

Methods

render(Component: ReactElement, options?: UltraServerRenderOptions)
renderWithContext(
Component: ReactElement,
context: Context | undefined,
options?: UltraServerRenderOptions,
)