Class Computed<N, V>

React.js synchronous state interface.

Type Parameters

  • N
  • V extends unknown[] = any

Hierarchy (view full)

Implements

Constructors

Properties

cache: typeof NO_CACHE | N = NO_CACHE
compute: ((args) => N)

Type declaration

    • (args): N
    • Parameters

      • args: V

      Returns N

getSnapshot: (() => N) = ...

Type declaration

    • (): N
    • Returns N

listeners: Set<FanOutListener<void>> = ...
subscribe: SyncStoreSubscribe = ...

----------------------------------------------------- SyncStore

Accessors

Methods