MCPcopy
hub / github.com/BetaSu/big-react / useRef

Function useRef

packages/react/index.ts:30–33  ·  view source on GitHub ↗
(initialValue)

Source from the content-addressed store, hash-verified

28};
29
30export const useRef: Dispatcher['useRef'] = (initialValue) => {
31 const dispatcher = resolveDispatcher() as Dispatcher;
32 return dispatcher.useRef(initialValue);
33};
34
35export const useContext: Dispatcher['useContext'] = (context) => {
36 const dispatcher = resolveDispatcher() as Dispatcher;

Callers 1

AppFunction · 0.90

Calls 1

resolveDispatcherFunction · 0.90

Tested by

no test coverage detected