MCPcopy Index your code
hub / github.com/react/react / Sync

Function Sync

packages/react-reconciler/src/__tests__/ReactUse-test.js:469–472  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

467 const ContextB = React.createContext('B');
468
469 function Sync() {
470 const text = use(ContextA) + use(ContextB);
471 return text;
472 }
473
474 function App() {
475 return (

Callers

nothing calls this directly

Calls 1

useFunction · 0.50

Tested by

no test coverage detected