Skip to content

cdp_diagnostic_renderers

Diagnostic helper for “fiber root invisibility” bug reports (issue #126 follow-up). Enumerates every registered React renderer and its root count via REACT_DEVTOOLS_GLOBAL_HOOK. Returns hook keys, renderer Map keys, per-renderer-id root summaries (top fiber type + first child + testID), and notes when renderers are registered but unscanned. Use this when cdp_component_tree returns empty for a component you know is mounted (modals, portals, sub-apps), or when bug-reporting fiber-walk failures.

NameTypeRequiredDefaultConstraintsDescription
maxRendererIdnumberNomin: 1, max: 100, integerHow many renderer IDs to scan. Default 20 (matches IIFE MAX_RENDERER_IDS).
cdp_diagnostic_renderers()