Skip to content

Slow performance with devtools open #5988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
UltimateGG opened this issue Apr 13, 2025 · 1 comment
Open
2 tasks done

Slow performance with devtools open #5988

UltimateGG opened this issue Apr 13, 2025 · 1 comment

Comments

@UltimateGG
Copy link

UltimateGG commented Apr 13, 2025

TanStack Table version

v8.21.2

Framework/Library version

React v19.1.0

Describe the bug and the steps to reproduce it

Run npm i react@latest react-dom@latest @types/react@latest @types/react-dom@latest and restart the app.

In the sorting example, change the number of rows visible to make the effect more visible.
(Change .rows.slice(0, 10) to something like 300.

Sorting by say the Age column, I can click through very fast, almost instant.

Open devtools, and click through sorting the age column again. It is noticeably slower for me, about a second.
Only happens in React 19

Removing the flexRender makes it fast. Possibly related #4962

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://tanstack.com/table/v8/docs/framework/react/examples/sorting

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@UltimateGG
Copy link
Author

UltimateGG commented Apr 13, 2025

The lag only happens when the devtools is open. Also seems to only be on Brave. Tried incognito so it is not an extension.
Probably not a bug with this library then but wow what a specific bug:

  • Only React 19
  • Only on Brave
  • Only when Devtools is open

Of course I'd run into that 😅 Anyone else able to reproduce?

@UltimateGG UltimateGG changed the title Much slower performance in React 19 Slow performance with devtools open Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant