Skip to main content
Module

x/udibo_react_app/server.tsx>AppState

A React Framework for Deno that makes it easy to create highly interactive apps that have server side rendering with file based routing for both your UI and API.
Go to Latest
interface AppState
import { type AppState } from "https://deno.land/x/udibo_react_app@0.9.0/server.tsx";

A record of application state when handling a request.

Type Parameters

optional
AppContext = Record<string, unknown>

Properties

_app: { route: RouteObject; providerFactory: (context: Context<AppState<AppContext>>) => ComponentType<{ children: ReactNode; }>; Context: ReactContext<AppContext>; }

Application state that is meant for internal use only.

app: { env: AppEnvironment; context: AppContext; render: () => Promise<void>; devPort?: number; error?: HttpError<{ boundary?: string; }>; }

A container for the application's data and functions.