@pond-ts/react API Reference
    Preparing search index...

    Function useTimeSeries

    • Memoized TimeSeries.fromJSON(...) for static or fetched data.

      Re-parses only when key changes. If no key is provided, the input is serialized via JSON.stringify as the cache key — fine for small to moderate payloads. For large datasets, pass an explicit key (e.g. a fetch URL or ETag) to avoid the serialization cost.

      Type Parameters

      • S extends SeriesSchema
      • I extends TimeSeriesJsonInput<S> & { parse?: TimeZoneOptions }

      Parameters

      • input: I
      • Optionalkey: string

      Returns TimeSeries<S>