Blazor ChatUI Example - Load On-Demand Messages
Michale Suyama
This sample demonstrates the load on-demand feature of the Chat UI component to efficiently render a large number of messages.
In this example, the chat Messages are a list of conversations between two users allowing you to scroll through their conversation history. The LoadOnDemand property allows you to load more messages on demand, improving performance and reducing load times, particularly in long conversations. Only the visible conversations are rendered, reducing the number of DOM elements and improving overall performance.