Skip to content

bug: Infinite re-renders when using react hooks with tags #2629

@tonibardina

Description

@tonibardina

Provide environment information

// not sure if applicable here

Describe the bug

Tag is used in the array of dependencies of multiple useEffect hooks inside the custom useRealtimeRunsWithTag hook. This is causing infinite realtime connections to be created and eating all my browser's memory

Image

Reproduction repo

Not applicable

To reproduce

You just need to run useRealtimeRunsWithTag with an array of tags to reproduce the issue

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions