React bindings for the SDK's DiagnosticSession: useSyncExternalStore over the session's own snapshot/subscribe pair, ownership tied to the component's lifetime, and scope readers that adapt session.readScope to the getData contract the kit's scopes already take. Scope frames deliberately never enter the snapshot โ a 512-sample buffer per tap per frame is exactly the allocation a UI must not diff โ so they are read into caller-owned buffers inside the draw loop instead.
pnpm dlx shadcn@latest add "https://pluginui.com/r/core-use-diagnostic-session.json"No files included in this item.