Sidebar
component which will render different conversations.
CometChatSelector
folder inside your src/app
directory and add the following files:
CometChatNoSSR.tsx
& CometChatNoSSR.css
files. Here, we will initialize the CometChat UI Kit, log in a user, and build the messaging experience using CometChatMessageHeader
, CometChatMessageList
, and CometChatMessageComposer
components.
/chat
route (e.g., http://localhost:3000/chat)
.