MCPcopy
hub / github.com/facebook/react / value

Function value

packages/react-reconciler/src/__tests__/ReactNewContext-test.js:535–542  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

533 return (
534 <ContextConsumer>
535 {value => <span prop={'Result: ' + value} />}
536 </ContextConsumer>
537 );
538 }
539
540 function BadRender() {
541 throw new Error('Bad render');
542 }
543
544 class ErrorBoundary extends React.Component {
545 state = {error: null};

Callers 2

ReactPromiseFunction · 0.50
createElementFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected