Skip to main content
Module

x/udibo_react_app/mod.tsx>createAppContext

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.
Latest
function createAppContext
Re-export
import { createAppContext } from "https://deno.land/x/udibo_react_app@0.19.0/mod.tsx";

A function that creates a React context object for the app. It takes an optional generic parameter representing the type of the initial value of the context. The context object created can hold any app-specific data, and its state will be serialized and shared with the browser.

Type Parameters

optional
AppContext extends Record<string, unknown> = Record<string, unknown>

Parameters

optional
defaultValue: AppContext