We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9fd95 commit bbf6d5aCopy full SHA for bbf6d5a
src/idom/core/hooks.py
@@ -23,6 +23,7 @@
23
24
from typing_extensions import Protocol
25
26
+from idom.config import IDOM_DEBUG_MODE
27
from idom.utils import Ref
28
29
from ._thread_local import ThreadLocal
@@ -212,7 +213,7 @@ def use_debug_value(
212
213
memo_func = message if callable(message) else lambda: message
214
new = use_memo(memo_func, dependencies)
215
- if old.current != new:
216
+ if IDOM_DEBUG_MODE.current and old.current != new:
217
old.current = new
218
logger.debug(f"{current_hook().component} {new}")
219
0 commit comments