Skip to content

The result of getSnapshot should be cached to avoid an infinite loop #2006

@Ali-0111

Description

@Ali-0111

Which package/packages do you use?

  • @stream-io/video-react-sdk @1.27.0

Describe the bug

I used SpeakerLayout, from @stream-io/video-react-sdk.
And i have this error:

Image

As i followed the report, internally speakerLayout caused this error.

Image

is there any related issue with useSyncExternalStore used inside speakerLayout regarding this react concept

Expected behavior
I want to remove this bug however, i did not lose any any functionality.

React / JS client

  • Browser [e.g. chrome, safari]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions