# Rust/WASM UI example

This crate is a clean wasm-bindgen consumer of
`@theaiplatform/miniapp-sdk/ui/wasm`. It demonstrates the full lifecycle:
mount, controlled revision updates, focus, action validation, replay/stale
rejection, and idempotent teardown.

Build it with:

```bash
cargo check --target wasm32-unknown-unknown
```

The JavaScript application that loads the generated wasm must import the SDK
styles once:

```ts
import '@theaiplatform/miniapp-sdk/ui/styles.css';
```
