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.
subscribe
useSyncExternalStore
The signals that change the value read.
(onChange) => unsubscribe.
(onChange) => unsubscribe
The
subscribeofuseSyncExternalStoreon signals: told of each emission of any of them, the same function while the signals are, so React connects once.