TanStackT
TanStack4y ago
1 reply
skinny-azure

Table keeps re-rendering... (getRowModel)

Guys, i am so desperate right now i need your help.

I have a react table that just keeps re-rendering forever and I can't find the reason.
The only thing i suspect is that table.getRowModel() causes the re-render because if i comment out the entire <tbody> element, the re-rendering stops.

can someone please tell me how to fix it?

here is a reproduction: https://codesandbox.io/s/mantine-playground-forked-9dx982?file=/src/App.tsx:2908-3260
CodeSandbox
Mantine playground (forked) using @emotion/react, @mantine/core, @mantine/hooks, @modulz/radix-icons, @tanstack/react-table, react, react-dom, react-scripts
Mantine playground (forked) - CodeSandbox
Was this page helpful?