MCPcopy
hub / github.com/preactjs/preact / B

Function B

compat/test/browser/useSyncExternalStore.test.jsx:416–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

414 return <Text text={'A' + a} />;
415 }
416 function B() {
417 const b = useSyncExternalStore(
418 store.subscribe,
419 () => store.getState().b
420 );
421 return <Text text={'B' + b} />;
422 }
423
424 function App() {
425 return (

Callers

nothing calls this directly

Calls 1

useSyncExternalStoreFunction · 0.90

Tested by

no test coverage detected