rx-datatable API
    Preparing search index...

    Function useComputed

    • Combines useMemo() with the adapter's computed() so that a computation is not repeated every render. Keep in mind that local variables captured in the computation lambda will often be outdated since the same lambda is re-used across multiple renders.

      NOTE: with the MobX adapter, computed() can only cache inside an observer() component; with the default adapter it recomputes on every get().

      Type Parameters

      • T

      Parameters

      • computation: () => T
      • deps: readonly any[] = []

      Returns { get(): T }