📄️ Event Types
XFrames events follow the React synthetic event pattern. Event data is available on event.nativeEvent. All event types are imported from @xframes/common.
📄️ Imperative Handles
Imperative handles are a key performance feature of XFrames. They let you push data directly from JavaScript into the C++ rendering core, bypassing React's reconciliation entirely — no virtual DOM diffing, no re-renders. The data goes straight to ImGui.
📄️ ImGui Enums
XFrames exposes Dear ImGui and ImPlot C++ enums as TypeScript enums. These are used in style rules, theme definitions, and plot component props.