apiref
sync-external-store@1.0.0

SyncExternalStore.getSnapshot  Property

The getSnapshot function to pass as the 2nd argument to useSyncExternalStore.

Signature

getSnapshot: () => T;