MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / warnDev

Function warnDev

packages/core/src/runtime/instances.ts:23–27  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

21const DEV_MODE = NODE_ENV !== "production";
22
23function warnDev(message: string): void {
24 if (!DEV_MODE) return;
25 const c = (globalThis as { console?: { warn?: (msg: string) => void } }).console;
26 c?.warn?.(message);
27}
28
29/** Effect cleanup function returned by effect callbacks. */
30export type EffectCleanup = () => void;

Callers 5

runEffectCleanupFunction · 0.70
setValueFunction · 0.70
dispatchFunction · 0.70
runPendingCleanupsFunction · 0.70
commitNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected