import { useVSeed } from '@visactor/vbi-react'
useVSeed(builder: VBIChartBuilder, options: UseVSeedOptions =
Executes the query and VSeed generation pipeline, returning the state and data required for rendering.
import type { VBIChartBuilder } from '@visactor/vbi' import { useVSeed } from '@visactor/vbi-react' export function Demo({ builder }: { builder: VBIChartBuilder }) { const { vseed, loading } = useVSeed(builder, { debounce: 100 }) if (loading || !vseed) { return <div>Loading...</div> } return <pre>{JSON.stringify(vseed, null, 2)}</pre> }