MCPcopy
hub / github.com/plotly/dash / useCallback

Function useCallback

dash/deps/react@18.2.0.js:1634–1637  ·  view source on GitHub ↗
(callback, deps)

Source from the content-addressed store, hash-verified

1632 return dispatcher.useLayoutEffect(create, deps);
1633 }
1634 function useCallback(callback, deps) {
1635 var dispatcher = resolveDispatcher();
1636 return dispatcher.useCallback(callback, deps);
1637 }
1638 function useMemo(create, deps) {
1639 var dispatcher = resolveDispatcher();
1640 return dispatcher.useMemo(create, deps);

Callers 12

TabsFunction · 0.90
SliderFunction · 0.90
InputFunction · 0.90
ResizeDetectorFunction · 0.90
CalendarComponentFunction · 0.90
CalendarMonthFunction · 0.90
DatePickerRangeFunction · 0.90
DropdownFunction · 0.90
DatePickerSingleFunction · 0.90
DashWrapperFunction · 0.90
DashContextProviderFunction · 0.90

Calls 1

resolveDispatcherFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…