interface UseViewOptions<TClient extends ViewClient> No documentation.
Properties
release
readonly release?: (client: TClient) => void; Releases a client this hook connected. Defaults to client.dispose().
keepAlive
readonly keepAlive?: number; Milliseconds a client this hook connected stays connected after the component unmounts or the source changes, for the next hook that follows the same reference (StrictMode, HMR, <Activity>, A→B→A navigation). 0 disposes it at once. Defaults to 2000. Read once, when the hook is created.