Skip to content

Firefox-based browsers “Too much recursion” error causing app freeze after latest update #425

@suiramdev

Description

@suiramdev

Since the latest update of react-scan, we’ve been experiencing a critical issue affecting our development environment.

We are using a Next.js 16.1.6 application, using react-scan script tag CDN, our React app started freezing specifically on Firefox-based browsers. The browser shows the error: “Too much recursion”, and the page becomes unresponsive.

Personally, I am using Zen Browser, which is based on Firefox version 1.18.5b Darwin, on macOS ARM. The issue consistently occurs there. However, it does not seem to occur on standard Firefox v147 on my machine.

The problem does not occur in Chrome. Additionally, if we remove react-scan from the project, everything works normally again in Firefox-based browsers. This strongly suggests that the problem is related to the recent react-scan update and its interaction with certain Firefox-based environments.

Nothing significant has changed in our application code, and the behavior started after react-scan update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions