You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only load the remaining messages if the customer scrolls up.
The problem we're trying to solve is that when too many messages are rendered, it slows down the animation of new messages being displays. So my thinking is that even if we have 100 messages in this.state.messages, we don't need to render them all.
Open to other solutions as well!
The text was updated successfully, but these errors were encountered:
(Note: the code for this lives in the https://github.com/papercups-io/chat-window repo)
Only load the remaining messages if the customer scrolls up.
The problem we're trying to solve is that when too many messages are rendered, it slows down the animation of new messages being displays. So my thinking is that even if we have 100 messages in
this.state.messages
, we don't need to render them all.Open to other solutions as well!
The text was updated successfully, but these errors were encountered: