Skip to content

bug: MessageList and MessageInput component re-render on active channel update #2889

@moritzallgravy

Description

@moritzallgravy

Describe the bug

We updated our stream-chat-react version from 11.4.0 => 13.12.0 and are experiencing an unexpected behavior of the MessageList and MessageInput inside the Channel component. The components are being re-rendered/unmounted/flashing constantly.

To Reproduce

Steps to reproduce the behavior:

  1. Have package version 13.12.0 installed
  2. Create a component like this:
<Channel channel={selectedChannel}>
    <MessageList />
    <MessageInput />
  </Channel>
  1. The message list and input is always flashing/re-render/unmounting

Expected behavior

The MessageList and MessageInput components are not being re-rendered/unmounted/flashing with every channel change as with version 11.4.0. We even tried to remove everything around the channel component and simply using the stream components and every time we ended up with the re-rendering.

Screenshots

Screen.Recording.2025-12-02.at.08.44.24.mov

Package version

  • stream-chat-react: 13.12.0
  • stream-chat: 9.25.0

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome

Additional context

As mentioned even with the code examples from stream we encounter this behavior. We also have a header component which is wrapped in memo and is not being re-rendered on channel updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions