You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DevTools Bug]: v6.0.0 (9/26/2024) of devtools makes a page extremely slow in dev (even when devtools are closed) #31266
I'm unsure what's the best way to reproduce the issue, but I'm loading a page with React Router v6 with [email protected] (using the latest version of the compiler), and v6.0.0 of devtools. Chrome version 129.0.6668.101 (Official Build) (arm64) on MacOS.
Even with devtools closed, page loads become very sluggish in development. If I run a Chrome performance profiler, it completely stalls on opening a new page for 5 seconds (albeit we're not running the React profiler):
When I turn off React Developer tools, page loads become instant when devtools are closed, and Chrome profiler is also 10x faster.
The problem is so bad that we thought we had a memory leak in our app somewhere, but it was all good in the built version of the app. Turns out devtools had updated in the background and everything became sluggish in development as a result. After we disabled the extensions, everything became supper snappy in development again.
Would love to provide a repro, but I'm not exactly sure what conditions trigger the issue, as a barebones react router setup doesn't seem to do the trick.
How often does this bug happen?
Every time
DevTools package (automated)
No response
DevTools version (automated)
No response
Error message (automated)
No response
Error call stack (automated)
No response
Error component stack (automated)
No response
GitHub query string (automated)
No response
Reacted by Blitz2145, OKman65, Jaakko Sirén and Søren Louv-Jansen
I've had to keep the extension turned off for now, unfortunately. Makes the whole developer experience a pain and hides actual performance issues.
Again, my main gripe with this is that it makes the page slow even when devtools are completely closed (and I don't mean React tab is not open, but no devtools are open at all). I wouldn't care too much if profiling was slow, but it's just profiling all the time by the looks of it, without any developer intent/consent.
My realtime app on WebGL slows down from 70fps to about 45fps only by the fact that React DevTools is enabled in Chrome, without even actually using it, and while Chrome's DevTools are closed completely.
Ok. My bad. I was passing as prop between a server component and a client component a big array.
There was therefore a big serialization. Now that I pass only a string and fetch the data client side, it's way smoother.
Below the original message:
I'm on 7.0.1 (10/20/2025) and I also disabled it because closing the devtools has no effect.
In a RSC environment, the page is a server page. It has the same client component (a base-ui dialog) repeated multiple times with different props. (A list of 100 buttons that opens a dialog with more info).
I used the extension while trying to debug the performance problem that I experienced without knowing that it was the extension itself.
Clicking on one button to open a dialog takes almost 30 seconds with the React Devtool extension and is instant without it.
You can also hear the CPU going up.
I took a performance dump (ie profiling dump?)
[Trace-slow-dialog-20260512T161335.json.gz](https://github.com/user-attachments/files/27641634/Trace-slow-dialog-20260512T161335.json.gz)
Below is the summary:
<img width="940" height="265" alt="Image" src="https://github.com/user-attachments/assets/8cb3a062-5860-45af-887f-9f67057059d5" />
Activity
newfylox commentedon Nov 11, 2024
I have a similar issue without knowing what's causing this.
Running React Developer Tools Version 6.0.1 (10/15/2024) on Chrome Version 130.0.6723.116 (Official Build) (64-bit)
lauri865 commentedon Nov 12, 2024
I've had to keep the extension turned off for now, unfortunately. Makes the whole developer experience a pain and hides actual performance issues.
Again, my main gripe with this is that it makes the page slow even when devtools are completely closed (and I don't mean React tab is not open, but no devtools are open at all). I wouldn't care too much if profiling was slow, but it's just profiling all the time by the looks of it, without any developer intent/consent.
lauri865 commentedon Dec 20, 2024
Affects sites in production as well. Makes debugging performance issues a real pain. 👀
V3RON commentedon Jan 15, 2025
@lauri865 @newfylox
Could you attempt to reproduce it again and then share the profiling dump from Chrome Dev Tools? 🙏
1valdis commentedon Mar 10, 2025
My realtime app on WebGL slows down from 70fps to about 45fps only by the fact that React DevTools is enabled in Chrome, without even actually using it, and while Chrome's DevTools are closed completely.
gerardnico commentedon May 12, 2026
Ok. My bad. I was passing as prop between a server component and a client component a big array.
There was therefore a big serialization. Now that I pass only a string and fetch the data client side, it's way smoother.
Below the original message: