# ViewOptions

Optional host identity override. Generated per render and restored during hydration by default.

## Signatures

```ts
export interface ViewOptions {
    readonly id?: string;
    readonly stopPropagation?: RootEventOptions;
    readonly identifierPrefix?: string;
    readonly onRecoverableError?: (error: unknown) => void;
}
```

## Property: id

Optional host identity override. Generated per render and restored during hydration by default.

## Property: identifierPrefix

Must match between server and browser; give independent roots distinct prefixes when using useId.

## Property: onRecoverableError

Recoverable hydration diagnostics, forwarded directly from React.

## Property: stopPropagation

Stops selected events at the automatic host; undefined inherits CurrentRootEvents.
