MCPcopy Create free account
hub / github.com/microsoft/SandDance / useRef

Function useRef

docs/external/js/react.development.js:1589–1592  ·  view source on GitHub ↗
(initialValue)

Source from the content-addressed store, hash-verified

1587 return dispatcher.useReducer(reducer, initialArg, init);
1588 }
1589 function useRef(initialValue) {
1590 var dispatcher = resolveDispatcher();
1591 return dispatcher.useRef(initialValue);
1592 }
1593 function useEffect(create, deps) {
1594 var dispatcher = resolveDispatcher();
1595 return dispatcher.useEffect(create, deps);

Callers

nothing calls this directly

Calls 1

resolveDispatcherFunction · 0.85

Tested by

no test coverage detected