apiref
sync-external-store@1.0.0

SyncExternalStore.(constructor)  Constructor

Creates a new SyncExternalStore.

Signature

constructor(initialState: T);

Parameters

ParameterTypeDescription
initialStateT