# update

**Kind:** Function

**Source:** [`src/jsx/dom/render.ts`](https://github.com/honojs/hono/blob/main/src/jsx/dom/render.ts#L740)

**Part of:** [Jsx](subsystem-src-jsx)

## Signature

```ts
async function update(context: Context, node: NodeObject): Promise<NodeObject | undefined>
```

## Parameters

| Name | Type |
|---|---|
| `context` | `Context` |
| `node` | `NodeObject` |

**Returns:** `Promise<NodeObject | undefined>`

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (1)

- `STASH_EFFECT` — `src/jsx/hooks/index.ts`:9
