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

x/udibo_react_app/env.ts>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.
Go to Latest
function createAppContext
import { createAppContext } from "https://deno.land/x/udibo_react_app@0.11.0/env.ts";

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