Example of Load On-Demand in ASP.NET Core Chat UI Control
This sample demonstrates the load on-demand feature of the Chat UI control to render a large number of data's.
DEMO
SOURCE
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.