apiref
sync-external-store@1.0.0

SyncExternalStore.state  Property

The current state of the store. Assigning a new value to this property will cause all subscribers to be notified.

Signature

get state(): T;

set state(value: T);

Remarks

Assigning the same value will not cause any subscribers to be notified.