converse.js icon indicating copy to clipboard operation
converse.js copied to clipboard

As a developer I want to have a property to pass a DOM element to render into on initialize

Open afuggini opened this issue 5 years ago • 1 comments

It would be highly beneficial to have a property to pass on to the initialize method to let Converse know specifically on what DOM element you wish to load the chat into. This also come handy when integrating with frameworks like React, where you may want to load it within a certain element of a specific component, without caring about what happens outside of it, where there might potentially be other ids #conversejs (strange but possible).

This way would provide more control over the render process, inverting the control flow from Converse to the renderer.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

afuggini avatar May 19 '20 16:05 afuggini

hi there, Can you please guide me how to integrate or use converseJs with reactJs?

MalikHUR639 avatar Sep 13 '23 15:09 MalikHUR639