Skip to main content
Solid Relay

Type Alias: DataStore<T>

DataStore<T> = {(): T; error: undefined; latest: T; pending: false; } | {(): undefined; error: unknown; latest: undefined; pending: false; } | {(): undefined; error: undefined; latest: undefined; pending: true; }

Defined in: index.d.mts:78

A reactive data store containing the result of a query or fragment.

Call () to read the value.

Type Parameters

T

T

The type of the value stored in the data store.

Last updated: 3/5/26, 7:43 PM

Edit this page on GitHub
Solid RelaySolidJS Bindings for Relay
Community
github