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
Hello, I've been using Tanstack Table v9 with svelte 5 + sveltekit and getting weird performance issue.
This is the function to insert a new row at starting of the table. I'm updating table data and inserting a new row with websocket message that is coming every one second from server. Basically I'm inserting a new row every 1 second and it gives weird console warnings and after 50-60 seconds application starts lagging and eventually crashes. I've attached console log warnings below.
I've noticed some other important points related to this:
If I insert a new row every 5 second instead of every 1 second, issue still persist
If I have applied filters on the data such that no data will be in list then it do not lag.(e.g. if age is ranged 0 to 30 and filter it to min 31)
As many rows I insert lag and pause time increases. Almost same time as the console warning
Debouncing the rowModel = table.getRowModel(); isn't working at all
Tanstack Table Version: ^9.0.0-alpha.10
Svelte: ^5.0.0-next.244
Sveltekit: ^2.0.0
@sveltejs/vite-plugin-svelte: ^4.0.0-next.6
I assume that this is rendering related issue.. I've also attached snippet for how i'm rendering the table.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
'
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.
The text was updated successfully, but these errors were encountered:
TanStack Table version
v9.0.0-alpha.10
Framework/Library version
Svelte 5.0.0-next.244
Describe the bug and the steps to reproduce it
Hello, I've been using Tanstack Table v9 with svelte 5 + sveltekit and getting weird performance issue.
This is the function to insert a new row at starting of the table. I'm updating table data and inserting a new row with websocket message that is coming every one second from server. Basically I'm inserting a new row every 1 second and it gives weird console warnings and after 50-60 seconds application starts lagging and eventually crashes. I've attached console log warnings below.
I've noticed some other important points related to this:
rowModel = table.getRowModel();
isn't working at allI assume that this is rendering related issue.. I've also attached snippet for how i'm rendering the table.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
'
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
The text was updated successfully, but these errors were encountered: