> ## Documentation Index
> Fetch the complete documentation index at: https://uom-demo.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Use app context

## Interfaces

### AppContext

Defined in: [hooks/use-app-context.ts:8](https://github.com/corovcam/Universal-Object-Mapping/blob/main/frontend/uom-translator-ui/hooks/use-app-context.ts#L8)

Context value structure for the global Application state.

## Variables

### AppContext

```ts theme={null}
AppContext: Context<AppContext>;
```

Defined in: [hooks/use-app-context.ts:8](https://github.com/corovcam/Universal-Object-Mapping/blob/main/frontend/uom-translator-ui/hooks/use-app-context.ts#L8)

React Context object that shares the LangGraph state and execution status across the application.

## Functions

### useAppContext()

```ts theme={null}
function useAppContext(): AppContext;
```

Defined in: [hooks/use-app-context.ts:26](https://github.com/corovcam/Universal-Object-Mapping/blob/main/frontend/uom-translator-ui/hooks/use-app-context.ts#L26)

Custom React hook that accesses the AppContext.
Must be used within an `AssistantRuntimeProviderWrapper` component.

#### Returns

[`AppContext`](#appcontext)

The current AppContext value.

#### Throws

If called outside of a provider context.
