Skip to content

Home > @liquidrazor/list-display > buildSnapshot

buildSnapshot() function

Builds an immutable snapshot of the current list state.

Signature:

typescript
buildSnapshot: <TRow = any, TRowId extends RowId = RowId>(state: ListState<TRow>) => ListSnapshot<TRow, TRowId>

Parameters

Parameter

Type

Description

state

ListState<TRow>

Returns:

ListSnapshot<TRow, TRowId>