Skip to content
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

Page Crash after Clicking Table Header and Infinite Re-renders #5845

Open
2 tasks done
TryV opened this issue Dec 22, 2024 · 0 comments
Open
2 tasks done

Page Crash after Clicking Table Header and Infinite Re-renders #5845

TryV opened this issue Dec 22, 2024 · 0 comments

Comments

@TryV
Copy link

TryV commented Dec 22, 2024

TanStack Table version

8.20.6

Framework/Library version

React v19.0.0

Describe the bug and the steps to reproduce it

Description:

Clicking on a column header in table triggers infinite re-renders, causing the page to freeze and become unresponsive.

Steps to Reproduce:

  1. Visit the provided sample project: https://stackblitz.com/edit/vitejs-vite-6zsufvts?file=src%2FApp.tsx&terminal=dev
  2. Open the console.
  3. Click on any column header in the table.

Expected Behavior:

Clicking on a column header should sort the data and re-render the table efficiently, maintaining page responsiveness.

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://stackblitz.com/edit/vitejs-vite-6zsufvts?file=src%2FApp.tsx&terminal=dev

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.
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