useSyncExternalStore<T> method

T useSyncExternalStore<T>(
  1. StoreSubscribe subscribe,
  2. Snapshot<T> getSnapshot,
  3. Snapshot<T>? getServerSnapshot
)

Subscribes to an external store.

Implementation

T useSyncExternalStore<T>(
  StoreSubscribe subscribe,
  Snapshot<T> getSnapshot,
  Snapshot<T>? getServerSnapshot,
) => unsupportedReactFeature('useSyncExternalStore');