GetStream / stream-chat-react

React Chat SDK ➜ Stream Chat 💬
https://getstream.io/chat/sdk/react/
Other
702 stars 273 forks source link

chore: upgrade `react-virtuoso` to the latest available version #1982

Open arnautov-anton opened 1 year ago

arnautov-anton commented 1 year ago

New version of react-virtoso adds fix which enhances performance, we should upgrade the package and adjust the SDK to work with the new version.

malyuk commented 1 year ago

@arnautov-anton do you have an ETA for this? Thank you

arnautov-anton commented 1 year ago

Hey, @malyuk, sorry but I still can't provide you with any ETA. I'll update this issue once I know more.

apostololeg commented 8 months ago

Hey @arnautov-anton, any updates? :)

arnautov-anton commented 8 months ago

Hey, @apostololeg, the VirtualizedMessageList has been stabilized and its performance is much better so this issue has been pushed a bit further. We do plan to upgrade but I cannot provide an exact ETA at this time as the team is busy with other important issues. I will update this thread once there's any progress.

samit4me commented 4 weeks ago

Just recently used this component on v12 of react-stream-chat and while fine on desktop, the experience on iOS however is extremely janky on scroll! Appears to re-render every message on scroll.

Was curious if there has been any updates on this or if anyone found a nice way to memo the message to make it less janky? Currently, Im thinking maybe reimplementing with a newer version of virtuoso might be the way?