Chat Widget in React?


I know it’s possible to implement the full app in React, but i’m wondering is there a way to just embed a widget in React? There instructions are just around vanilla JS (Web).

Is it possible to use the widget with react?


Hi @talked,
The web widget should work in React.
Add the chat widget script in the index.html file located in public folder.
Use window.CometChatWidget instead of CometChatWidget

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.