Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/udibo_react_app/server.tsx>RouterDefinition

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 RouterDefinition
import { type RouterDefinition } from "https://deno.land/x/udibo_react_app@0.10.0/server.tsx";

A representation of the routers for a routes directory that is used to generate an Oak router. This interface is meant for internal use only.

Properties

name: string
optional
parent: RouterDefinition
optional
react: boolean
optional
file: { react?: RouteFile; oak?: Router; }
optional
main: { react?: RouteFile; oak?: Router; }
optional
index: { react?: RouteFile; oak?: Router; }
optional
children: Record<string, RouterDefinition>