TanStack

SubscribePropsWithSource

Type Alias: SubscribePropsWithSource<TSourceValue, TSelected>

ts
type SubscribePropsWithSource<TSourceValue, TSelected> =
  | SubscribePropsWithSourceIdentity<TSourceValue>
| SubscribePropsWithSourceWithSelector<TSourceValue, TSelected>;

Defined in: Subscribe.ts:57

Subscribe to a single source — atom or store (identity or projected).

Type Parameters

TSourceValue

TSourceValue

TSelected

TSelected = TSourceValue