Table of Contents

Property Select

Namespace
Velvet
Assembly
Velvet.Docs.dll

Select

TanStack Query's select: turns the entry's data, and placeholder data, into the result's. Over the entry's data it runs again only when that data's instance or this function's changes, so pass a stable instance, such as one held in a field, to keep from running it each render. One that throws makes the result an error. Required when TData is not TQueryFnData.

public Func<TQueryFnData, TData>? Select { get; init; }

Property Value

Func<TQueryFnData, TData>