Documentation - v20.0.0-dev
    Preparing search index...
    • The subscribe of useSyncExternalStore on signals: told of each emission of any of them, the same function while the signals are, so React connects once.

      Parameters

      Returns (onChange: () => void) => () => void

      (onChange) => unsubscribe.