cometchat-core - Configure CometChat React UI Kit v6 integrations
Provides shared rules for CometChat React UI Kit v6 initialization, login, CSS, environment variables, SSR safety, and provider patterns.
Tags
Updated: 2026-12-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Initialize CometChat exactly once
- Guard concurrent login requests
- Authenticate with UID or token
- Retrieve the current user
- Configure root-level CSS variables
- Map framework environment variables
- Handle SSR-safe initialization
- Clear local sessions on logout
Inputs
- CometChat App ID
- CometChat region
- Development auth key
- Production auth token
- Application user UID
- Framework environment variables
Outputs
- CometChat integration code
- Initialized CometChat SDK
- Authenticated user session
- Root-level CSS configuration
- Cleared local session on logout
Requirements
- Node.js >=18
- React >=18
- @cometchat/chat-uikit-react ^6
- @cometchat/chat-sdk-javascript ^4
