Material-table: Low performance when using a filter and passing different list of data.

Created on 28 Aug 2020  路  10Comments  路  Source: mbrn/material-table

I have the table being controlled by a filter that returns one of two data arrays.
When I navigate between these data lists more than 4 times, there is a decrease in the performance of the table, until from the 8th filter change, the application completely crashes.

Here is the example to reproduce the problem.
https://gist.github.com/cazetto/ee8fc6096b33f7b69b84e79a65428650

A video with the problem:
https://drive.google.com/file/d/10ZXX84jUL18IIV4ndE5Jj2B3zOOLJ5Ze/view?usp=sharing

Steps to reproduce the behavior:

  1. Click many times in different Tabs
  2. See the performance problem

Expected behavior
The table should render without slowness.

  • OS: [MacOS Catalina]
  • Browser [chrome]
  • Version [e.g. 84.0.4147.135]
bug wontfix

Most helpful comment

I can also confirm weird performance issues. Downgrading to 1.68.1 worked for me.

All 10 comments

I'm also having a similar issue with performance when changing data dynamically setting state.

I have same issue, downgrade to 1.68.1 work fine.

I can also confirm weird performance issues. Downgrading to 1.68.1 worked for me.

Same issue here. (using router between two tables)

1.68.1 works fine.

Really, 1.68.1 worked for me too.

Having same issue, everytime i paginate, which dispatch an action to get data, it suddenly uses a lot more cpu and memory until the tab hangs.

edit: 1.68.1 works fine

Same issue here.
Edit: 1.68.1 resolved the issue.

Same issue.
1.68.1 works

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jlgreene2 picture jlgreene2  路  3Comments

ModPhoenix picture ModPhoenix  路  3Comments

victorwvieira picture victorwvieira  路  3Comments

revskill10 picture revskill10  路  3Comments

Likurg2010 picture Likurg2010  路  3Comments