devtools-event-client
Installation
SKILL.md
devtools-event-client
Typed event emitter/listener that connects application code to TanStack Devtools panels. Framework-agnostic. Works in React, Vue, Solid, Preact, and vanilla JS.
Setup
Install the package:
npm i @tanstack/devtools-event-client
The package has two entry points — the root export (the real client in development, a no-op tree-shaken out of production), and the /production subpath (always the real client, for libraries that want devtools events in production):
import { EventClient } from '@tanstack/devtools-event-client'