Example of Load On-demand in React Chat UI Component

/
/
LoadOnDemand

This sample demonstrates the load on-demand feature of the Chat UI component to render a large number of data's.

More Details...

Loading....
Description

In this example, the chat messages are the list of conversations between two users allowing to scroll through their conversation history. The loadOnDemand property allows you to load more messages on demand, improving the performance and reducing load times, particularly in long conversations. Only the visible conversations are render, reducing the amount of DOM elements and improving the overall performance.It highlights the improving performance and reducing load times, particularly in long conversations.