cometchat-react-v7-troubleshooting
Installation
SKILL.md
Ground truth:
@cometchat/chat-uikit-react@7. Symbols/signatures are verified againstcometchat-react-v7-core+ its catalog and FETCHED viareferences/docs-map.md; the rules referenced (init order, layout sizing, credentials) areRULES.md. This diagnostics catalog is cross-checked against the live{DOCS_BASE}/ui-kit/react/troubleshooting.mdpage (base + paths incometchat-react-v7-core/references/docs-map.md), and adds the host-side/runtime symptoms it doesn't cover.
Companion skills (read first)
cometchat-react-v7-core— the correct init→login→render order, credentials, and the reflow-free layout the fixes below restore.
Use this skill when
A React CometChat integration compiles but misbehaves at runtime: blank, empty, unresponsive, or throwing.
Start here — React fails on the ORDER and the BOX
Two causes explain most "it's blank":
- A kit component rendered before
init()+login()resolved. The surface must be gated on the resolved logged-in user. Rendering it eagerly (or during SSR) yields an empty/erroring pane. - The container has no height. The kit fills its parent; a parent at
height:auto/0collapses it to a sliver. This is a host CSS defect, not a kit bug (RULES.md→ Layout / sizing).