Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@tonibardina

Description

@tonibardina
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.