MCPcopy Create free account
hub / github.com/dailydotdev/apps / callback

Function callback

packages/shared/src/hooks/log/useLogLifecycleEvents.ts:58–59  ·  view source on GitHub ↗
(event: CustomEvent)

Source from the content-addressed store, hash-verified

56 useEffect(() => {
57 listenToLifecycleEvents();
58 const callback = (event: CustomEvent) =>
59 lifecycleCallbackRef.current(event);
60 window.addEventListener('statechange', callback);
61 return () => window.removeEventListener('statechange', callback);
62 }, []);

Callers 10

useTimerFunction · 0.50
useQuerySubscriptionFunction · 0.50
onDeleteSquadFunction · 0.50
useOutsideClickFunction · 0.50
useInteractivePopupFunction · 0.50
useBackgroundRequestFunction · 0.50
useDebouncedUrlFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected