useKlinechartsUILoading
Loading state of chart data.
const { isLoading } = useKlinechartsUILoading();| Field | Type | Description |
|---|---|---|
isLoading | boolean | true while createDataLoader is fetching bars |
const { isLoading } = useKlinechartsUILoading();
{isLoading && <div className="spinner" />}The flag is driven by the data loader’s init/forward requests, so it covers
both the initial load and history pagination on left-scroll.