T
TanStack3y ago
ambitious-aqua

react-virtuoso + react-table (v7) - re-renders after initial mount

Hello everyone! Does someone have table-virtuoso + react-table (v7) setup without re-renders after initial mount? I googled vurtuoso instructions - they give example of NON-inline declaring mui-table components https://codesandbox.io/s/virtuoso-mui-expandrows-remounting-forked-89dzq?file=/App.js:3087-3096 and here is their INLINE example of react-table integration https://virtuoso.dev/react-table-integration/ But with react-table that all is more complicated, so i am not sure if i delcare them correct, cause i still get re-renders. Do you have good working examples?
petyosi
CodeSandbox
virtuoso-mui-expandrows-remounting (forked) - CodeSandbox
virtuoso-mui-expandrows-remounting (forked) by petyosi using @emotion/react, @emotion/styled, @mui/material, faker, lodash, react, react-dom, react-scripts, react-virtuoso
Table Virtuoso integrated with React Table | React Virtuoso
The following example virtualizes the basic example of React Table. makeData comes from the React Table samples.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?