SyncExternalStore.(constructor) Constructor
Creates a new SyncExternalStore.
Signature
constructor(initialState: T);
Parameters
Parameter | Type | Description |
---|---|---|
initialState | T |
Creates a new SyncExternalStore.
constructor(initialState: T);
Parameter | Type | Description |
---|---|---|
initialState | T |