Table might use React.memo!
Table is lagging with 50+ rows because of rerender of each row. HeroUI v2 havent this problem with same rows. TanStack doesnt helped. Problem source: Table.Content (TablePrimitive from react-aria-components) and Table.Row (RowPrimitive) currently doesnt using React.memo. Please fix.
Log in to comment and vote
Comments2
Junior Garcia
Mar 13
We added virtualization demo:
https://github.com/heroui-inc/heroui/pull/6305
IT Suiji
Mar 12
I think React.memo isn’t nessesary. Modern React application recommend that we should use React Compilier to avoid the rerander problems. Developers don’t need and shouldn’t write any memo!